chiark / gitweb /
journal: fix access to munmapped memory in sd_journal_enumerate_unique
[elogind.git] / src / journal / journal-verify.c
index 82b0f0a98bb23a7ffa0bdc657819eabc78f09eb5..f2422ff841c0142aa92e2302e9b959dbf27cb728 100644 (file)
 #include "compress.h"
 #include "fsprg.h"
 
-/* Use six characters to cover the offsets common in smallish journal
- * files without adding to many zeros. */
-#define OFSfmt "%06"PRIx64
-
 static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o) {
         uint64_t i;