chiark / gitweb /
journal: beef up journal output of systemctl and journalctl
[elogind.git] / src / journal / sd-journal.c
index 05c0d96ce180165f225a872398090e2366e09660..fe9208c01b4477f3548cd0ab693007f056f48b33 100644 (file)
@@ -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);