[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 13/30] netcf: Remove virConnectPtr from interfaceReportError



On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> ---
>  src/interface/netcf_driver.c |   36 ++++++++++++++++++------------------
>  1 files changed, 18 insertions(+), 18 deletions(-)
> 
> diff --git a/src/interface/netcf_driver.c b/src/interface/netcf_driver.c
> index e44156e..708f1f8 100644
> --- a/src/interface/netcf_driver.c
> +++ b/src/interface/netcf_driver.c
> @@ -33,8 +33,8 @@
>  
>  #define VIR_FROM_THIS VIR_FROM_INTERFACE
>  
> -#define interfaceReportError(conn, dom, net, code, ...)               \
> -    virReportErrorHelper(conn, VIR_FROM_THIS, code, __FILE__,         \
> +#define interfaceReportError(code, ...)                               \
> +    virReportErrorHelper(NULL, VIR_FROM_THIS, code, __FILE__,         \
>                           __FUNCTION__, __LINE__, __VA_ARGS__)

ACK, and the rest of the patch is mechanical fallout.

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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]