diff --git a/ChangeLog b/ChangeLog index 2d1ce07ce9..2b2d396aa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 12 11:25:00 BST 2007 Richard W.M. Jones + + * src/remote_internal.c: virDrvOpenRemoteFlags was accidentally + declared as a global variable, instead of the name an enum. + Mon Sep 10 17:15:29 CEST 2007 Daniel Veillard * docs/architecture.html docs/errors.html docs/format.html diff --git a/src/remote_internal.c b/src/remote_internal.c index 7ac70b9ee1..3506ca0bf1 100644 --- a/src/remote_internal.c +++ b/src/remote_internal.c @@ -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)