diff options
Diffstat (limited to 'kconfig/nconf.c')
-rw-r--r-- | kconfig/nconf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/kconfig/nconf.c b/kconfig/nconf.c index 4875f5e3..93d186ed 100644 --- a/kconfig/nconf.c +++ b/kconfig/nconf.c @@ -677,6 +677,7 @@ static int do_exit(void) "Your configuration changes were NOT saved.", 1, "<OK>"); + conf_write_autoconf(0); break; default: btn_dialog( @@ -1213,12 +1214,9 @@ static void conf(struct menu *menu) } } -static void conf_message_callback(const char *fmt, va_list ap) +static void conf_message_callback(const char *s) { - char buf[1024]; - - vsnprintf(buf, sizeof(buf), fmt, ap); - btn_dialog(main_window, buf, 1, "<OK>"); + btn_dialog(main_window, s, 1, "<OK>"); } static void show_help(struct menu *menu) |