PERFORCE change 96133 for review
John Birrell
jb at FreeBSD.org
Wed Apr 26 04:32:08 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=96133
Change 96133 by jb at 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
More information about the p4-projects
mailing list