Blame SOURCES/journal-fix-format.patch

db0a20
commit cf7387344ca9f78fa5aaaab38f41cf0ab9832568
db0a20
Author: Christian Kellner <christian@kellner.me>
db0a20
Date:   Fri Jan 4 11:44:53 2019 +0100
db0a20
db0a20
    journal: fix invalid format string in warning
db0a20
    
db0a20
    Remove the erroneous extra string format specifier ('%s') that was
db0a20
    not passed; which of course is a bug and made some architectures
db0a20
    fall over. Should never actually happen in the wild, because bolt
db0a20
    tries very hard to not write invalid journal entries ... but who
db0a20
    knows.
db0a20
db0a20
diff --git a/boltd/bolt-journal.c b/boltd/bolt-journal.c
db0a20
index 715f862..5edd647 100644
db0a20
--- a/boltd/bolt-journal.c
db0a20
+++ b/boltd/bolt-journal.c
db0a20
@@ -490,7 +490,7 @@ bolt_journal_list (BoltJournal *journal,
db0a20
       if (err != NULL)
db0a20
         {
db0a20
           bolt_warn_err (err, LOG_TOPIC ("journal"),
db0a20
-                         "invalid entry: '%s': %s", l);
db0a20
+                         "skipping entry '%s'", l);
db0a20
           continue;
db0a20
         }
db0a20