X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=scripts%2Fkconfig%2Flex.zconf.c_shipped;h=0fdc9049296f5985d9abaf46aeda7e607ef5a80f;hb=f2e1d89f9b349b3cd914b7c6ec6368632f4ad048;hp=800f8c71c407f32893020c72c14d043147e8eeb1;hpb=0a1340c185734a57fbf4775927966ad4a1347b02;p=powerpc.git diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped index 800f8c71c4..0fdc904929 100644 --- a/scripts/kconfig/lex.zconf.c_shipped +++ b/scripts/kconfig/lex.zconf.c_shipped @@ -2264,7 +2264,7 @@ FILE *zconf_fopen(const char *name) FILE *f; f = fopen(name, "r"); - if (!f && name[0] != '/') { + if (!f && name != NULL && name[0] != '/') { env = getenv(SRCTREE); if (env) { sprintf(fullname, "%s/%s", env, name);