[libvirt] [PATCH 1/1] [RFC] lvm storage backend: handle command_names=1 in lvm.conf

Eric Blake eblake at redhat.com
Mon Sep 26 23:30:39 UTC 2011


On 09/15/2011 08:17 AM, Serge E. Hallyn wrote:
> +++ b/src/storage/storage_backend.c
> @@ -1400,7 +1400,7 @@ virStorageBackendRunProgRegex(virStoragePoolObjPtr pool,
>                                 const char **regex,
>                                 int *nvars,
>                                 virStorageBackendListVolRegexFunc func,
> -                              void *data)
> +                              void *data, char *cmd_to_ignore)

Also, this should be 'const char *cmd_to_ignore', since you are passing 
string literals as arguments.

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




More information about the libvir-list mailing list