From: Osier Yang Date: Wed, 21 Sep 2011 09:03:43 +0000 (+0800) Subject: API: prefer to use NULLSTR macro X-Git-Tag: v0.9.6~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e531f9a9d87df6611974c0a59390fb9a389d75a9;p=thirdparty%2Flibvirt.git API: prefer to use NULLSTR macro --- diff --git a/src/libvirt.c b/src/libvirt.c index 05c0a87e13..8f94b11841 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -10300,7 +10300,7 @@ virConnectFindStoragePoolSources(virConnectPtr conn, unsigned int flags) { VIR_DEBUG("conn=%p, type=%s, src=%s, flags=%x", - conn, type ? type : "", srcSpec ? srcSpec : "", flags); + conn, NULLSTR(type), NULLSTR(srcSpec), flags); virResetLastError();