diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-12-20 00:38:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-12-20 00:38:14 +0100 |
commit | 466ccd92e2f9ad712332012e1b3643a34b006a45 (patch) | |
tree | 3318133708d6ccfa864142826128206007c43e1c /src/journal/journal-file.c | |
parent | 50f20cfdb0f127e415ab38c024d9ca7a3602f74b (diff) |
journal: fix matches
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r-- | src/journal/journal-file.c | 2 |
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); |