From 8e587386b0b3a0ed11edf71dfbe9fb508f60d0b3 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Mon, 5 Nov 2018 14:29:05 +0000 Subject: siggen: Correct format argument substitution Use % operator to ensure that the dependency is substituted into the error message correctly. Signed-off-by: Mike Crowe Signed-off-by: Richard Purdie --- lib/bb/siggen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 03c824ec3..c619b596d 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -185,7 +185,7 @@ class SignatureGeneratorBasic(SignatureGenerator): if not self.rundep_check(fn, recipename, task, dep, depname, dataCache): continue if dep not in self.taskhash: - bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep) + bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?" % dep) data = data + self.taskhash[dep] self.runtaskdeps[k].append(dep) -- cgit 1.2.3-korg