]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
storage: make debug log more useful
authorOsier Yang <jyang@redhat.com>
Tue, 22 Feb 2011 02:10:31 +0000 (10:10 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 22 Feb 2011 02:10:31 +0000 (10:10 +0800)
"__func__" is useless there, as VIR_DEBUG will print the function
name.

* src/storage/storage_backend_mpath.c

src/storage/storage_backend_mpath.c

index 2e8556170834c8e646b36c2b58fcdc093dd6bde1..2d48a9d47a6de970296668765047285a6265d58f 100644 (file)
@@ -316,7 +316,7 @@ virStorageBackendMpathRefreshPool(virConnectPtr conn ATTRIBUTE_UNUSED,
 {
     int retval = 0;
 
-    VIR_DEBUG("in %s", __func__);
+    VIR_DEBUG("conn=%p, pool=%p", conn, pool);
 
     pool->def->allocation = pool->def->capacity = pool->def->available = 0;