From 9f928af12bc81c26299bc2711ea2c1ef3139c6fd Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Tue, 22 Feb 2011 10:10:31 +0800 Subject: [PATCH] storage: make debug log more useful "__func__" is useless there, as VIR_DEBUG will print the function name. * src/storage/storage_backend_mpath.c --- src/storage/storage_backend_mpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/storage_backend_mpath.c b/src/storage/storage_backend_mpath.c index 2e85561708..2d48a9d47a 100644 --- a/src/storage/storage_backend_mpath.c +++ b/src/storage/storage_backend_mpath.c @@ -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;