diff options
author | Matthew Wilcox <willy@debian.org> | 2003-12-29 23:40:14 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 23:40:14 -0800 |
commit | ea114baca8640d270dc64dd801fe43903ed00303 (patch) | |
tree | 172e1612f63d460279457c49a4ebe7c6e7c2930b /scripts | |
parent | bfd3fcff8e5dca44ec53075af9d61d308b451a9c (diff) | |
download | history-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.c | 2 |
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; |