PERFORCE change 95873 for review
John Birrell
jb at FreeBSD.org
Sat Apr 22 09:50:02 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95873
Change 95873 by jb at jb_freebsd2 on 2006/04/22 09:49:37
Change the name of the base device to /dev/dtrace0 so that device
cloning works. Without the trailing zero the cloning even doesn't
occur. Not sure why.
Affected files ...
.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#7 edit
Differences ...
==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_open.c#7 (text) ====
@@ -922,7 +922,7 @@
#if defined(sun)
dtfd = open("/dev/dtrace/dtrace", O_RDWR);
#else
- dtfd = open("/dev/dtrace", O_RDWR);
+ dtfd = open("/dev/dtrace0", O_RDWR);
#endif
err = errno; /* save errno from opening dtfd */
More information about the p4-projects
mailing list