summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-27 22:52:22 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-27 22:52:22 +0100
commit24b51289e3f61c2483bb61231f8c16b65cf101be (patch)
treee053319eddb0fab46b84699b0bd054aeb73eadfb /src/journal/sd-journal.c
parent330672957438243c8003d3a90f0e59dedbd845e9 (diff)
journal: fix typo
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 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;
}
}