kconfig: fix mconf segmentation fault
authorMarcin Garski <mgarski@post.pl>
Sat, 5 May 2007 20:49:00 +0000 (22:49 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 6 May 2007 07:27:15 +0000 (09:27 +0200)
commit11de39e2fbbc592018e0a231d0ee773653dcc8d6
treeb924f942d4bb696669dbd572c4708a173953dec7
parent767e581d759fe6adfef5e676cd1cd8e11f603d1a
kconfig: fix mconf segmentation fault

I have found small bug in mconf, when you run it without any argument it
will sigsegv.

Without patch:
$ scripts/kconfig/mconf
Segmentation fault

With patch:
$ scripts/kconfig/mconf
can't find file (null)

Signed-off-by: Marcin Garski <mgarski@post.pl>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/lex.zconf.c_shipped
scripts/kconfig/zconf.l