Re: [libvirt] [PATCH 14/30] Remove virConnectPtr from nodeReportError

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

 



2010/4/5 Eric Blake <eblake@xxxxxxxxxx>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>>  src/nodeinfo.c       |   47 +++++++++++++++++++++++------------------------
>>  tests/nodeinfotest.c |    4 ++--
>>  2 files changed, 25 insertions(+), 26 deletions(-)
>>
>> diff --git a/src/nodeinfo.c b/src/nodeinfo.c
>> index 4858e71..402a6b7 100644
>> --- a/src/nodeinfo.c
>> +++ b/src/nodeinfo.c
>> @@ -51,8 +51,8 @@
>>
>>  #define VIR_FROM_THIS VIR_FROM_NONE
>>
>> -#define nodeReportError(conn, code, ...)                                \
>> -    virReportErrorHelper(conn, VIR_FROM_NONE, code, __FILE__,           \
>> +#define nodeReportError(code, ...)                                      \
>> +    virReportErrorHelper(NULL, VIR_FROM_NONE, code, __FILE__,           \
>>                           __FUNCTION__, __LINE__, __VA_ARGS__)
>
> ACK, and the rest of the patch is mechanical fallout.
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]