summaryrefslogtreecommitdiff
path: root/src/journal/sd-journal.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-12-16 20:54:56 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-12-18 11:56:19 +0100
commit1fc605b0e130149a44abfa38c33f4535cfe548ea (patch)
tree4341b3adfd057df42d3d1d529cf22472784b89f1 /src/journal/sd-journal.c
parent99cc7653a83af6647f28ac0cbedf6f6062e92b72 (diff)
journal: abstract the resetting of JournalFile's location
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 72c9770a99..adaf402f46 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -87,7 +87,7 @@ static void detach_location(sd_journal *j) {
j->current_field = 0;
ORDERED_HASHMAP_FOREACH(f, j->files, i)
- f->current_offset = 0;
+ journal_file_reset_location(f);
}
static void reset_location(sd_journal *j) {