diff options
author | Marius Vollmer <mvollmer@redhat.com> | 2013-04-08 11:19:44 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-08 11:08:38 +0200 |
commit | 23e97f7d9274b90fb0e1664945dc6259fdae6d39 (patch) | |
tree | ea9f50d109ea80364819aad09b60b5fb921758af | |
parent | 7c962c866ad7b8842d96dbb92f809625a5d31dde (diff) |
journal: Fix typo
This would break backwards skipping.
https://bugs.freedesktop.org/show_bug.cgi?id=63250
-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 c1f69827e9..7e06a70344 100644 --- a/src/journal/sd-journal.c +++ b/src/journal/sd-journal.c @@ -602,7 +602,7 @@ static int next_for_match( return r; if ((direction == DIRECTION_DOWN ? cp >= after_offset : cp <= after_offset) && - (np == 0 || (direction == DIRECTION_DOWN ? cp > np : np < cp))) { + (np == 0 || (direction == DIRECTION_DOWN ? cp > np : cp < np))) { np = cp; continue_looking = true; } |