Blame SOURCES/journal-fix-format.patch

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