[PATCH] Fix virExecWithHook Prototype

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]