Commit ea114bac authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] fix make config help

fgets puts a \n in the buffer before the terminating \0.
parent bfd3fcff
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment