]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/sd-journal.c
journal: don't assert on mmap'ed object type
[thirdparty/systemd.git] / src / journal / sd-journal.c
index 720ec3614524f3c0c6ec65c48b1adaec45dc0ce9..ca80eb2f1c6dc04c1d7db9d392b657144085365d 100644 (file)
@@ -119,7 +119,6 @@ static void init_location(Location *l, LocationType type, JournalFile *f, Object
         assert(l);
         assert(IN_SET(type, LOCATION_DISCRETE, LOCATION_SEEK));
         assert(f);
-        assert(o->object.type == OBJECT_ENTRY);
 
         *l = (Location) {
                 .type = type,