From 001d00ac698d8fe39fc2f74aafb0ebc2cde21b0e Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 29 Jun 2022 12:13:21 +0200 Subject: [PATCH] journal: Fix missing parenthesis (cherry picked from commit f63d1b0efa64fe716c2855a0410ac47ad67f7dec) (cherry picked from commit 437978fe51983d39cd2fc6437a1152761b7f6f6d) --- src/libsystemd/sd-journal/journal-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-journal/journal-verify.c b/src/libsystemd/sd-journal/journal-verify.c index 8288ebcd6e..a660467916 100644 --- a/src/libsystemd/sd-journal/journal-verify.c +++ b/src/libsystemd/sd-journal/journal-verify.c @@ -279,7 +279,7 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o if (le64toh(o->entry.items[i].object_offset) == 0 || !VALID64(le64toh(o->entry.items[i].object_offset))) { error(offset, - "Invalid entry item (%"PRIu64"/%"PRIu64" offset: "OFSfmt, + "Invalid entry item (%"PRIu64"/%"PRIu64") offset: "OFSfmt, i, journal_file_entry_n_items(o), le64toh(o->entry.items[i].object_offset)); return -EBADMSG;