summaryrefslogtreecommitdiff
path: root/support/kconfig/conf.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-01-13 12:48:28 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-15 20:48:04 +0100
commit21f540be4e247b4468d0e8adbf9e3a7575f8a085 (patch)
tree8c572a31fbc5cbeecb015a3b15ce00debf03a074 /support/kconfig/conf.c
parent8f8d414b61bf3b27a77ad38dfc493ae412b65471 (diff)
kconfig: sync with linux-3.0
And drop unused make-write-deps patch. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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;
}