]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/kconfig/zconf.l
ccid3: Update copyrights
[linux-2.6-omap-h63xx.git] / scripts / kconfig / zconf.l
index cfa46077c6b43a45dad6d89c60ea5dd274c566cf..187d38ccadd57f489b89cbbf16798cdf5f08ef49 100644 (file)
@@ -265,7 +265,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);