diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-04 03:45:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-04 03:45:50 +0100 |
commit | cf5eb6a110c39b36dd07457180b749f32488bcf5 (patch) | |
tree | 85802c12abe0573bab15e4fb9f90d5072ac0d0a3 /src | |
parent | b4e5f9201706cbd0c83645175649119e87c2c91c (diff) |
journal: fix reverse traversing of entries
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/sd-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c index 1833c75340..78a91a3eb0 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -488,7 +488,7 @@ static int next_with_matches(sd_journal *j, JournalFile *f, direction_t directio /* Make sure we don't match the entry we are starting * from. */ - found = cp > *offset; + found = cp != *offset; np = 0; LIST_FOREACH(matches, m, j->matches) { |