summaryrefslogtreecommitdiffstats
path: root/support/kconfig/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/kconfig/conf.c')
-rw-r--r--support/kconfig/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/kconfig/conf.c b/support/kconfig/conf.c
index 652e079a6..ed9402a60 100644
--- a/support/kconfig/conf.c
+++ b/support/kconfig/conf.c
@@ -332,7 +332,7 @@ static int conf_choice(struct menu *menu)
}
if (!child)
continue;
- if (line[strlen(line) - 1] == '?') {
+ if (line[0] && line[strlen(line) - 1] == '?') {
print_help(child);
continue;
}