got rid of a printf("%s", NULL)
authorewt <devnull@localhost>
Wed, 6 Nov 1996 20:58:54 +0000 (20:58 +0000)
committerewt <devnull@localhost>
Wed, 6 Nov 1996 20:58:54 +0000 (20:58 +0000)
CVS patchset: 1151
CVS date: 1996/11/06 20:58:54

build/spec.c

index d06e717..9d33d87 100644 (file)
@@ -967,7 +967,8 @@ Spec parseSpec(FILE *f, char *specfile, char *buildRootOverride)
                    error(RPMERR_INTERNAL, "Package lookup failed: %s", s);
                    return NULL;
                }
-               message(MESS_DEBUG, "Switched to package: %s\n", s);
+               message(MESS_DEBUG, "Switched to package: %s\n", 
+                       s ? s : "(main)");
            }
 
            if (cur_part == FILES_PART) {