diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-12-16 20:54:56 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-12-18 11:56:19 +0100 |
commit | 1fc605b0e130149a44abfa38c33f4535cfe548ea (patch) | |
tree | 4341b3adfd057df42d3d1d529cf22472784b89f1 /src/journal/sd-journal.c | |
parent | 99cc7653a83af6647f28ac0cbedf6f6062e92b72 (diff) |
journal: abstract the resetting of JournalFile's location
Diffstat (limited to 'src/journal/sd-journal.c')
-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 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) { |