]> err.no Git - systemd/commitdiff
journal: fix typo
authorLennart Poettering <lennart@poettering.net>
Tue, 27 Dec 2011 21:52:22 +0000 (22:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Dec 2011 21:52:22 +0000 (22:52 +0100)
src/journal/sd-journal.c

index 4095830901b30359fcd2e5218d1a96aa7220c8ca..8fc8ec58855f9248cfe9811216f2b36697a576d0 100644 (file)
@@ -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;
                                         }
 
                                 }