diff options
Diffstat (limited to 'util/kconfig/conf.c')
-rw-r--r-- | util/kconfig/conf.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/util/kconfig/conf.c b/util/kconfig/conf.c index bc7b2f69e3..563755988c 100644 --- a/util/kconfig/conf.c +++ b/util/kconfig/conf.c @@ -648,19 +648,8 @@ static void check_conf(struct menu *menu) switch (input_mode) { case listnewconfig: - if (sym->name) { - const char *str; - - if (sym->type == S_STRING) { - str = sym_get_string_value(sym); - str = sym_escape_string_value(str); - printf("%s%s=%s\n", CONFIG_, sym->name, str); - free((void *)str); - } else { - str = sym_get_string_value(sym); - printf("%s%s=%s\n", CONFIG_, sym->name, str); - } - } + if (sym->name) + print_symbol_for_listconfig(sym); break; case helpnewconfig: printf("-----\n"); |