From a87247dd5dc3892f858e920d09b16cc2a8b9b3c4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 10 Oct 2012 01:34:27 +0200 Subject: journal: make sure sd_journal_seek_cursor() seeks to the specified entry if it exists, not one after it --- src/journal/journal-internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/journal/journal-internal.h') diff --git a/src/journal/journal-internal.h b/src/journal/journal-internal.h index 86519be3d4..7cedcac665 100644 --- a/src/journal/journal-internal.h +++ b/src/journal/journal-internal.h @@ -59,7 +59,8 @@ struct Match { typedef enum LocationType { LOCATION_HEAD, LOCATION_TAIL, - LOCATION_DISCRETE + LOCATION_DISCRETE, + LOCATION_SEEK } LocationType; struct Location { -- cgit v1.2.3-54-g00ecf