Date: Tue, 15 Nov 2005 01:00:56 GMT From: Wayne Salamon <wsalamon@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 86777 for review Message-ID: <200511150100.jAF10uD7073280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=86777 Change 86777 by wsalamon@gretsch on 2005/11/15 00:59:55 Pass in the correct type of object for the pipe() call: an array of file descriptors and not a single one. Affected files ... .. //depot/projects/trustedbsd/audit3/tools/regression/audit/test/ipc/tipc.c#4 edit Differences ... ==== //depot/projects/trustedbsd/audit3/tools/regression/audit/test/ipc/tipc.c#4 (text+ko) ==== @@ -37,12 +37,12 @@ #define AUDIT_CLASSES (AU_IPC) - int fd; + int filedes[2]; AUT_INIT(); /* Generate an AUE_PIPE audit record */ - if (pipe(&fd) < 0) + if (pipe(filedes) < 0) AUT_PERROR("pipe()"); aut_assert(AUE_PIPE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511150100.jAF10uD7073280>