Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 04:32:07 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96133 for review
Message-ID:  <200604260432.k3Q4W7D3036321@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604260432.k3Q4W7D3036321>