summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-20 00:38:14 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-20 00:38:14 +0100
commit466ccd92e2f9ad712332012e1b3643a34b006a45 (patch)
tree3318133708d6ccfa864142826128206007c43e1c /src/journal/journal-file.c
parent50f20cfdb0f127e415ab38c024d9ca7a3602f74b (diff)
journal: fix matches
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 7626743248..8a864cb913 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -1434,7 +1434,7 @@ int journal_file_next_entry_for_data(
assert(p > 0 || !o);
r = journal_file_move_to_object(f, OBJECT_DATA, data_offset, &d);
- if (r <= 0)
+ if (r < 0)
return r;
n = le64toh(d->data.n_entries);