chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b1a0ab7
)
journal: don't mind too much if we can't find a monotonic timestamp
author
Lennart Poettering
<lennart@poettering.net>
Wed, 4 Jan 2012 02:45:14 +0000
(
03:45
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 4 Jan 2012 02:45:14 +0000
(
03:45
+0100)
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index 555c35ecc2f1f1365236bbcf653471e35034c6cf..fde1a0be881bd9694fd2842cf33a9f402b48b5c6 100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-349,7
+349,7
@@
static int find_location(sd_journal *j, JournalFile *f, direction_t direction, O
r = journal_file_move_to_entry_by_monotonic(f, j->current_location.boot_id, j->current_location.monotonic, direction, &o, &p);
if (r <= 0)
- return r;
+ return r
== -ENOENT ? 0 : r
;
}
LIST_FOREACH(matches, m, j->matches) {