summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/sd-journal.c')
-rw-r--r--src/journal/sd-journal.c2
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) {