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

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



2010/4/5 Eric Blake <eblake redhat com>:
> 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


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