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

Re: [libvirt] [PATCH 08/30] xen: Remove virConnectPtr from virXendError



On 04/04/2010 11:36 AM, Matthias Bolte wrote:
> @@ -98,12 +97,12 @@ virDomainXMLDevID(virDomainPtr domain,
>                    int ref_len);
>  #endif
>  
> -#define virXendError(conn, code, ...)                                      \
> -        virReportErrorHelper(conn, VIR_FROM_XEND, code, __FILE__,          \
> +#define virXendError(code, ...)                                            \
> +        virReportErrorHelper(NULL, VIR_FROM_XEND, code, __FILE__,          \
>                               __FUNCTION__, __LINE__, __VA_ARGS__)
>  
> -#define virXendErrorInt(conn, code, ival)                                    \
> -        virXendError(conn, code, "%d", ival)
> +#define virXendErrorInt(code, ival)                                        \
> +        virXendError(code, "%d", ival)

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]