[libvirt] [PATCH 06/30] vbox: Remove virConnectPtr from vboxError

Matthias Bolte matthias.bolte at googlemail.com
Tue Apr 6 00:18:21 UTC 2010


2010/4/5 Eric Blake <eblake at redhat.com>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>>  src/vbox/vbox_driver.c |   12 ++--
>>  src/vbox/vbox_tmpl.c   |  177 +++++++++++++++++++++++------------------------
>>  2 files changed, 93 insertions(+), 96 deletions(-)
>>
>> diff --git a/src/vbox/vbox_driver.c b/src/vbox/vbox_driver.c
>> index 632cb76..36e7315 100644
>> --- a/src/vbox/vbox_driver.c
>> +++ b/src/vbox/vbox_driver.c
>> @@ -58,8 +58,8 @@ static virDriver vboxDriverDummy;
>>
>>  #define VIR_FROM_THIS VIR_FROM_VBOX
>>
>> -#define vboxError(conn, code, ...) \
>> -        virReportErrorHelper(conn, VIR_FROM_VBOX, code, __FILE__, \
>> +#define vboxError(code, ...) \
>> +        virReportErrorHelper(NULL, VIR_FROM_VBOX, code, __FILE__, \
>>                               __FUNCTION__, __LINE__, __VA_ARGS__)
>
> ACK, and the rest of the patch is mechanical fallout.
>

Thanks, pushed.

Matthias




More information about the libvir-list mailing list