Patrick Georgi | 53ea1d4 | 2019-11-22 16:55:58 +0100 | [diff] [blame] | 1 | From 887ae0ac3dc53fc73488a4dbc1fbf36fa620ce8b Mon Sep 17 00:00:00 2001 |
| 2 | From: Martin Roth <martinroth@google.com> |
| 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 <martinroth@google.com> |
| 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 |
Patrick Georgi | 7761237 | 2024-03-13 13:01:21 +0100 | [diff] [blame^] | 17 | @@ -898,7 +898,7 @@ int main(int ac, char **av) |
Patrick Georgi | 53ea1d4 | 2019-11-22 16:55:58 +0100 | [diff] [blame] | 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 | } |