projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"kernel" => "busybox"
[oweals/busybox.git]
/
scripts
/
kconfig
/
conf.c
diff --git
a/scripts/kconfig/conf.c
b/scripts/kconfig/conf.c
index a95ba93e24a18e886bc27e3c915fa5c42d4f0467..ca722b05dce4b2b490412ca8d90de858bfb82b6d 100644
(file)
--- a/
scripts/kconfig/conf.c
+++ b/
scripts/kconfig/conf.c
@@
-390,7
+390,7
@@
static int conf_choice(struct menu *menu)
}
if (!child)
continue;
- if (line[strlen(line) - 1] == '?') {
+ if (
strlen(line) > 0 &&
line[strlen(line) - 1] == '?') {
printf("\n%s\n", child->sym->help ?
child->sym->help : nohelp_text);
continue;