From owner-p4-projects@FreeBSD.ORG Wed Apr 26 04:32:08 2006 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 4830116A421; Wed, 26 Apr 2006 04:32:08 +0000 (UTC) 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 26B4416A420 for ; Wed, 26 Apr 2006 04:32:08 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3AAB43D45 for ; Wed, 26 Apr 2006 04:32:07 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3Q4W7HT036329 for ; Wed, 26 Apr 2006 04:32:07 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3Q4W7D3036321 for perforce@freebsd.org; Wed, 26 Apr 2006 04:32:07 GMT (envelope-from jb@freebsd.org) Date: Wed, 26 Apr 2006 04:32:07 GMT Message-Id: <200604260432.k3Q4W7D3036321@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 96133 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: Wed, 26 Apr 2006 04:32:08 -0000 http://perforce.freebsd.org/chv.cgi?CH=96133 Change 96133 by jb@jb_freebsd2 on 2006/04/26 04:31:33 SysV -> BSD ioctl change. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c#6 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_aggregate.c#6 (text) ==== @@ -360,7 +360,11 @@ buf->dtbd_cpu = cpu; +#if defined(sun) if (dt_ioctl(dtp, DTRACEIOC_AGGSNAP, buf) == -1) { +#else + if (dt_ioctl(dtp, DTRACEIOC_AGGSNAP, &buf) == -1) { +&#endif if (errno == ENOENT) { /* * If that failed with ENOENT, it may be because the