]> git.ipfire.org Git - thirdparty/libvirt.git/commit
debug: assure NULLSTR() around all %s args in debug at top of public APIs
authorLaine Stump <laine@laine.org>
Wed, 27 May 2015 17:44:21 +0000 (13:44 -0400)
committerLaine Stump <laine@laine.org>
Thu, 28 May 2015 17:13:45 +0000 (13:13 -0400)
commite983e62514b18e9ae60acbaf9aa4e3b366fc7e10
treeb97ba6ccbaf36f8d4191a6910c88c02eec9b274f
parent06a18bc84b8f64683e2e2a24dca8dca1a5cbb7fa
debug: assure NULLSTR() around all %s args in debug at top of public APIs

There are also a couple that were very uninformatively just logging
the value of the pointer rather than the string itself:

* the "name" arg to virNodeDeviceLookupByName()
* wwnn and wwpn args to virNodeDeviceLookupSCSIHostByWWN()

All char*'s that make sense should now have their contents logged
rather than the pointer, and all %s args should now be inside
NULLSTR().
src/libvirt-domain.c
src/libvirt-host.c
src/libvirt-interface.c
src/libvirt-network.c
src/libvirt-nodedev.c
src/libvirt-nwfilter.c
src/libvirt-secret.c
src/libvirt-storage.c