chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: fix access to munmapped memory in sd_journal_enumerate_unique
[elogind.git]
/
src
/
journal
/
journal-verify.c
diff --git
a/src/journal/journal-verify.c
b/src/journal/journal-verify.c
index 82b0f0a98bb23a7ffa0bdc657819eabc78f09eb5..f2422ff841c0142aa92e2302e9b959dbf27cb728 100644
(file)
--- a/
src/journal/journal-verify.c
+++ b/
src/journal/journal-verify.c
@@
-34,10
+34,6
@@
#include "compress.h"
#include "fsprg.h"
#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;
static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o) {
uint64_t i;