From: ewt Date: Thu, 31 Oct 1996 21:08:23 +0000 (+0000) Subject: fixed message() call to not print NULL %s X-Git-Tag: tznext/4.11.0.1.tizen20130304~10815 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=845a829172308ba1c3c7719e0a843fde0b36578f;p=tools%2Flibrpm-tizen.git fixed message() call to not print NULL %s CVS patchset: 1145 CVS date: 1996/10/31 21:08:23 --- diff --git a/build/spec.c b/build/spec.c index 1bc25e5..d06e717 100644 --- a/build/spec.c +++ b/build/spec.c @@ -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;