From ea114baca8640d270dc64dd801fe43903ed00303 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Mon, 29 Dec 2003 23:40:14 -0800 Subject: [PATCH] [PATCH] fix make config help fgets puts a \n in the buffer before the terminating \0. --- scripts/kconfig/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.53.0