chiark / gitweb /
build-sys: run 'make update-man-list'
[elogind.git] / src / journal / sd-journal.c
index 88af68c1f1a2c73d26d3856db786d7d9e96d9419..e021d98155e50cacf41bbc6640072e26c557f93c 100644 (file)
@@ -109,6 +109,9 @@ static void set_location(sd_journal *j, LocationType type, JournalFile *f, Objec
 
         init_location(&j->current_location, type, f, o);
 
+        if (j->current_file)
+                j->current_file->current_offset = 0;
+
         j->current_file = f;
         j->current_field = 0;