| 1 |
From 887ae0ac3dc53fc73488a4dbc1fbf36fa620ce8b Mon Sep 17 00:00:00 2001 |
| 2 |
From: Martin Roth <[email protected]> |
| 3 |
Date: Tue, 6 Dec 2016 14:28:44 -0700 |
| 4 |
Subject: [PATCH] util/kconfig/conf.c: Fix newline in error printf |
| 5 |
|
| 6 |
For some reason the \n in the defconfig save error was not escaped. |
| 7 |
|
| 8 |
Signed-off-by: Martin Roth <[email protected]> |
| 9 |
--- |
| 10 |
util/kconfig/conf.c | 2 +- |
| 11 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 |
|
| 13 |
Index: kconfig/conf.c |
| 14 |
=================================================================== |
| 15 |
--- kconfig.orig/conf.c |
| 16 |
+++ kconfig/conf.c |
| 17 |
@@ -898,7 +898,7 @@ int main(int ac, char **av) |
| 18 |
|
| 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 |
} |