From: Randy Dunlap If the beginning Kconfig file is missing, config segfaults so it might as well exit after the error message. Signed-off-by: Randy Dunlap Cc: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton --- scripts/kconfig/conf.c | 1 + 1 files changed, 1 insertion(+) diff -puN scripts/kconfig/conf.c~config-exit-if-no-beginning-filename scripts/kconfig/conf.c --- devel/scripts/kconfig/conf.c~config-exit-if-no-beginning-filename 2006-04-22 01:39:14.000000000 -0700 +++ devel-akpm/scripts/kconfig/conf.c 2006-04-22 01:39:14.000000000 -0700 @@ -539,6 +539,7 @@ int main(int ac, char **av) name = av[i]; if (!name) { printf(_("%s: Kconfig file missing\n"), av[0]); + exit(1); } conf_parse(name); //zconfdump(stdout); _