[libvirt] [PATCH] storage: mpath: Fix incorrect VIR_ERROR use

Eric Blake eblake at redhat.com
Mon May 24 23:05:18 UTC 2010


On 05/24/2010 12:52 PM, Cole Robinson wrote:
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  src/storage/storage_backend_mpath.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/storage/storage_backend_mpath.c b/src/storage/storage_backend_mpath.c
> index 8d0a92a..3a137eb 100644
> --- a/src/storage/storage_backend_mpath.c
> +++ b/src/storage/storage_backend_mpath.c
> @@ -302,7 +302,7 @@ virStorageBackendMpathRefreshPool(virConnectPtr conn ATTRIBUTE_UNUSED,
>  {
>      int retval = 0;
>  
> -    VIR_ERROR(_("in %s"), __func__);
> +    VIR_DEBUG("in %s", __func__);

ACK.

Hmm, that reminds me, I have a pending series that asked whether we
wanted a global search-and-replace of the gcc-specific __FUNCTION__ to
the C99 __func__ (right now, internal.h guarantees the gcc spelling even
for other compilers).  Someday I'll get around to revisiting that series
(it's not the highest priority).

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100524/7c0a278f/attachment-0001.sig>


More information about the libvir-list mailing list