]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
moveconfig: fix error message in do_autoconf()
authorChris Packham <judge.packham@gmail.com>
Sun, 27 Aug 2017 08:00:51 +0000 (20:00 +1200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Oct 2017 09:13:13 +0000 (18:13 +0900)
Move the % arch outside the double quote so that the missing toolchain
message is displayed correctly.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/moveconfig.py

index e3116461bad0ec577b5081ff332077c5babdefe6..bdd4899fcd7f80802b395ee49b7cc9ce4bdd76a3 100755 (executable)
@@ -1170,7 +1170,7 @@ class Slot:
             toolchain = self.toolchains.Select(arch)
         except ValueError:
             self.log += color_text(self.options.color, COLOR_YELLOW,
-                    "Tool chain for '%s' is missing.  Do nothing.\n % arch")
+                    "Tool chain for '%s' is missing.  Do nothing.\n" % arch)
             self.finish(False)
             return
        env = toolchain.MakeEnvironment(False)