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

[libvirt] [PATCH 2/7] Rename 'daemon' param to 'binary' in virNetClientNewUNIX



From: "Daniel P. Berrange" <berrange redhat com>

To avoid a clash with daemon() libc API, rename the
'daemon' param in the header file to 'binary'. The
source file already uses the name 'binary'.

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 src/rpc/virnetclient.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpc/virnetclient.h b/src/rpc/virnetclient.h
index 99ea263..4204a93 100644
--- a/src/rpc/virnetclient.h
+++ b/src/rpc/virnetclient.h
@@ -37,7 +37,7 @@
 
 virNetClientPtr virNetClientNewUNIX(const char *path,
                                     bool spawnDaemon,
-                                    const char *daemon);
+                                    const char *binary);
 
 virNetClientPtr virNetClientNewTCP(const char *nodename,
                                    const char *service);
-- 
1.8.1.4


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