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@google.com>
Reviewed-on: https://review.coreboot.org/17742
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>
This commit is contained in:
Martin Roth 2016-12-06 14:28:44 -07:00
parent 21c99af0c8
commit c01ff74a6a
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ int main(int ac, char **av)
} }
} else if (input_mode == savedefconfig) { } else if (input_mode == savedefconfig) {
if (conf_write_defconfig(defconfig_file)) { 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); defconfig_file);
return 1; return 1;
} }