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

[libvirt] [PATCH] Fix virExecWithHook Prototype



This was necessary to get libvirt to build on Solaris 11 Express and
seems correct (as it makes this match the definition in util.c):

diff --git a/src/util/util.h b/src/util/util.h
index d320c40..31ec089 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -70,7 +70,7 @@ int virExecDaemonize(const char *const*argv,
 int virExecWithHook(const char *const*argv,
                     const char *const*envp,
                     const fd_set *keepfd,
-                    int *retpid,
+                    pid_t *retpid,
                     int infd,
                     int *outfd,
                     int *errfd,

Attachment: signature.asc
Description: This is a digitally signed message part


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