From: Richard Laager Date: Sun, 29 May 2011 01:56:22 +0000 (-0500) Subject: Fix virExecWithHook Prototype X-Git-Tag: CVE-2011-2178~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4996c314b046821255685912c30474258b0b6b10;p=thirdparty%2Flibvirt.git 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 e2b8eb361a..a1bcca07be 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -61,7 +61,7 @@ typedef int (*virExecHook)(void *data); 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,