[coreboot-gerrit] New patch to review for coreboot: util/kconfig/conf.c: Fix newline in error printf

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Tue Dec 6 23:26:53 CET 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17742

-gerrit

commit a54b4b45919c949f4c97043fe37f6f28b76fadc0
Author: Martin Roth <martinroth at google.com>
Date:   Tue Dec 6 14:28:44 2016 -0700

    util/kconfig/conf.c: Fix newline in error printf
    
    For some reason the \n in the defconfig save error was not escaped.
    
    Change-Id: I6a76b258f461a194fe17aae2b4fa04326b46d8d6
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/kconfig/conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/kconfig/conf.c b/util/kconfig/conf.c
index c421773..7aae1c7 100644
--- a/util/kconfig/conf.c
+++ b/util/kconfig/conf.c
@@ -705,7 +705,7 @@ int main(int ac, char **av)
 		}
 	} else if (input_mode == savedefconfig) {
 		if (conf_write_defconfig(defconfig_file)) {
-			fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"),
+			fprintf(stderr, _("\n*** Error while saving defconfig to: %s\n\n"),
 				defconfig_file);
 			return 1;
 		}



More information about the coreboot-gerrit mailing list