API: prefer to use NULLSTR macro

This commit is contained in:
Osier Yang 2011-09-21 17:03:43 +08:00
parent 2b0803c64f
commit e531f9a9d8

View File

@ -10300,7 +10300,7 @@ virConnectFindStoragePoolSources(virConnectPtr conn,
unsigned int flags) unsigned int flags)
{ {
VIR_DEBUG("conn=%p, type=%s, src=%s, flags=%x", VIR_DEBUG("conn=%p, type=%s, src=%s, flags=%x",
conn, type ? type : "", srcSpec ? srcSpec : "", flags); conn, NULLSTR(type), NULLSTR(srcSpec), flags);
virResetLastError(); virResetLastError();