blob: 7b5105b1f8dacc605853e47d3dfcd04fcc30831a [file] [log] [blame]
Patrick Georgi53ea1d42019-11-22 16:55:58 +01001From 887ae0ac3dc53fc73488a4dbc1fbf36fa620ce8b Mon Sep 17 00:00:00 2001
2From: Martin Roth <martinroth@google.com>
3Date: Tue, 6 Dec 2016 14:28:44 -0700
4Subject: [PATCH] util/kconfig/conf.c: Fix newline in error printf
5
6For some reason the \n in the defconfig save error was not escaped.
7
8Signed-off-by: Martin Roth <martinroth@google.com>
9---
10 util/kconfig/conf.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13Index: kconfig/conf.c
14===================================================================
15--- kconfig.orig/conf.c
16+++ kconfig/conf.c
Patrick Georgi77612372024-03-13 13:01:21 +010017@@ -898,7 +898,7 @@ int main(int ac, char **av)
Patrick Georgi53ea1d42019-11-22 16:55:58 +010018
19 if (input_mode == savedefconfig) {
20 if (conf_write_defconfig(defconfig_file)) {
21- fprintf(stderr, "n*** Error while saving defconfig to: %s\n\n",
22+ fprintf(stderr, "\n*** Error while saving defconfig to: %s\n\n",
23 defconfig_file);
24 return 1;
25 }