diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index db03e2f45de4202496f466b8ad5b9418690de09f..18a233d27a8d2c6212d3cc8efe83ff86091fbec9 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -137,7 +137,7 @@ static int conf_string(struct menu *menu) printf("%*s%s ", indent - 1, "", menu->prompt->text); printf("(%s) ", sym->name); def = sym_get_string_value(sym); - if (sym_get_string_value(sym)) + if (def) printf("[%s] ", def); if (!conf_askvalue(sym, def)) return 0;