aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2003-12-29 23:40:14 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2003-12-29 23:40:14 -0800
commitea114baca8640d270dc64dd801fe43903ed00303 (patch)
tree172e1612f63d460279457c49a4ebe7c6e7c2930b /scripts
parentbfd3fcff8e5dca44ec53075af9d61d308b451a9c (diff)
downloadhistory-ea114baca8640d270dc64dd801fe43903ed00303.tar.gz
[PATCH] fix make config help
fgets puts a \n in the buffer before the terminating \0.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 08da496f83690..7dee8c9810bb0 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -175,7 +175,7 @@ int conf_string(struct menu *menu)
break;
case '?':
/* print help */
- if (line[1] == 0) {
+ if (line[1] == '\n') {
help = nohelp_text;
if (menu->sym->help)
help = menu->sym->help;