]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-journal: add missing bracket in journal verify log message
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Jun 2021 11:13:39 +0000 (13:13 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Jul 2021 15:54:24 +0000 (17:54 +0200)
(cherry picked from commit 6abd991c718dbc1480ab7e71103a8b3e886bd3a3)
(cherry picked from commit 3dabd7f816fa0465c08745ce76f459c4c2a7c3d5)

src/journal/journal-verify.c

index 6ea2f4c898a9b67ee3c6cdf57913a3ddee666516..a2da0d7b7cc9506900d0d5b6a47a1541bf45c7d8 100644 (file)
@@ -168,7 +168,7 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o
                         h2 = journal_file_hash_data(f, o->data.payload, le64toh(o->object.size) - offsetof(Object, data.payload));
 
                 if (h1 != h2) {
-                        error(offset, "Invalid hash (%08"PRIx64" vs. %08"PRIx64, h1, h2);
+                        error(offset, "Invalid hash (%08" PRIx64 " vs. %08" PRIx64 ")", h1, h2);
                         return -EBADMSG;
                 }