fixed message() call to not print NULL %s
authorewt <devnull@localhost>
Thu, 31 Oct 1996 21:08:23 +0000 (21:08 +0000)
committerewt <devnull@localhost>
Thu, 31 Oct 1996 21:08:23 +0000 (21:08 +0000)
CVS patchset: 1145
CVS date: 1996/10/31 21:08:23

build/spec.c

index 1bc25e5..d06e717 100644 (file)
@@ -924,7 +924,8 @@ Spec parseSpec(FILE *f, char *specfile, char *buildRootOverride)
                }
            }
 
-           message(MESS_DEBUG, "fileFile = %s\n", fileFile);
+           message(MESS_DEBUG, "fileFile = %s\n", 
+                       fileFile ? fileFile : "(null)");
            
            /* Handle -n in part tags */
            lookupopts = 0;