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

Eric Blake eblake at redhat.com
Mon Apr 5 17:09:27 UTC 2010


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.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100405/5877172e/attachment-0001.sig>


More information about the libvir-list mailing list