X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fkconfig%2Fconf.c;h=006ad817cd5f003023a7308b471eb9c4e46ba5de;hb=466de9183570fe9fd21ef167951488fc9d513fcb;hp=659326c3e89579b09f86077dbcbe5e1eb3a12d28;hpb=ab2020f2f11fc7fb81e6c71298b0830d85412011;p=pandora-kernel.git diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 659326c3e895..006ad817cd5f 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/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; }