summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-04 18:33:36 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-04 18:33:36 +0100
commitdf50185b43916926a72246ab3a80875eda7ad2a3 (patch)
treeabc859fb7e4e28dab3cd870a66638232365aedca /src/journal/sd-journal.c
parentfd8ee359a014916ac62ae2b58f6736ccb48c6d4e (diff)
journal: beef up journal output of systemctl and journalctl
Diffstat (limited to 'src/journal/sd-journal.c')
-rw-r--r--src/journal/sd-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 05c0d96ce1..fe9208c01b 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -1298,7 +1298,7 @@ _public_ int sd_journal_get_monotonic_usec(sd_journal *j, uint64_t *ret, sd_id12
return r;
if (!sd_id128_equal(id, o->entry.boot_id))
- return -ENOENT;
+ return -ESTALE;
}
*ret = le64toh(o->entry.monotonic);