[libvirt] [PATCH 22/30] uml: Remove virConnectPtr from umlReportError

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


2010/4/5 Eric Blake <eblake at redhat.com>:
> On 04/04/2010 11:36 AM, Matthias Bolte wrote:
>> ---
>>  src/uml/uml_conf.c   |   38 ++++++-------
>>  src/uml/uml_conf.h   |    4 +-
>>  src/uml/uml_driver.c |  149 ++++++++++++++++++++++++--------------------------
>>  3 files changed, 92 insertions(+), 99 deletions(-)
>>
>> diff --git a/src/uml/uml_conf.c b/src/uml/uml_conf.c
>> +++ b/src/uml/uml_conf.h
>> @@ -62,8 +62,8 @@ struct uml_driver {
>>  };
>>
>>
>> -# define umlReportError(conn, dom, net, code, ...)                       \
>> -    virReportErrorHelper(conn, VIR_FROM_UML, code, __FILE__,            \
>> +# define umlReportError(code, ...)                                      \
>> +    virReportErrorHelper(NULL, VIR_FROM_UML, 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