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

Re: [Libvir] [PATCH] Fix enum virDrvOpenRemoteFlags



On Thu, Sep 06, 2007 at 03:53:57PM +0100, Richard W.M. Jones wrote:
> (Thanks Eduardo for pointing this one out ...)
> 
> Rich.
> 
> -- 
> Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
> Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
> England and Wales under Company Registration No. 03798903

> Index: src/remote_internal.c
> ===================================================================
> RCS file: /data/cvs/libvirt/src/remote_internal.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 remote_internal.c
> --- src/remote_internal.c	21 Aug 2007 10:08:12 -0000	1.21
> +++ src/remote_internal.c	6 Sep 2007 14:56:43 -0000
> @@ -230,12 +230,12 @@ remoteForkDaemon(virConnectPtr conn)
>  
>  
>  /* Must not overlap with virDrvOpenFlags */
> -enum {
> +enum virDrvOpenRemoteFlags {
>      VIR_DRV_OPEN_REMOTE_RO = (1 << 0),
>      VIR_DRV_OPEN_REMOTE_UNIX = (1 << 1),
>      VIR_DRV_OPEN_REMOTE_USER = (1 << 2),
>      VIR_DRV_OPEN_REMOTE_AUTOSTART = (1 << 3),
> -} virDrvOpenRemoteFlags;
> +};
>  
>  static int
>  doRemoteOpen (virConnectPtr conn, struct private_data *priv, const char *uri_str, int flags)

  Sure, +1 !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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