From owner-p4-projects@FreeBSD.ORG Tue Nov 15 01:00:57 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 3DE2516A421; Tue, 15 Nov 2005 01:00:57 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 128A516A41F for ; Tue, 15 Nov 2005 01:00:57 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C1F43D4C for ; Tue, 15 Nov 2005 01:00:56 +0000 (GMT) (envelope-from wsalamon@computer.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAF10unn073283 for ; Tue, 15 Nov 2005 01:00:56 GMT (envelope-from wsalamon@computer.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAF10uD7073280 for perforce@freebsd.org; Tue, 15 Nov 2005 01:00:56 GMT (envelope-from wsalamon@computer.org) Date: Tue, 15 Nov 2005 01:00:56 GMT Message-Id: <200511150100.jAF10uD7073280@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to wsalamon@computer.org using -f From: Wayne Salamon To: Perforce Change Reviews Cc: Subject: PERFORCE change 86777 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 01:00:58 -0000 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);