diff options
-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 4095830901..8fc8ec5885 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -437,7 +437,7 @@ static int find_location(sd_journal *j, JournalFile *f, direction_t direction, O (direction == DIRECTION_DOWN && cp < tp) || (direction == DIRECTION_UP && cp > tp)) { to = c; - tp = tp; + tp = cp; } } |