Date: Tue, 15 Aug 2006 02:29:46 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103951 for review Message-ID: <200608150229.k7F2TkkE083907@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103951 Change 103951 by jb@jb_freebsd2 on 2006/08/15 02:29:03 Undo hacks prior to simply not compiling this source file. Affected files ... .. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/drti.c#4 edit Differences ... ==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/drti.c#4 (text) ==== @@ -86,11 +86,10 @@ } #pragma init(dtrace_dof_init) + static void dtrace_dof_init(void) { -printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__); -#ifdef DOODAD dof_hdr_t *dof = &__SUNW_dof; #ifdef _LP64 Elf64_Ehdr *elf; @@ -169,15 +168,12 @@ dprintf(1, "DTrace ioctl succeeded for DOF at %p\n", dof); (void) close(fd); -#endif } #pragma fini(dtrace_dof_fini) static void dtrace_dof_fini(void) { -printf("%s:%s(%d): DOODAD\n",__FUNCTION__,__FILE__,__LINE__); -#ifdef DOODAD int fd; if ((fd = open64(devnamep, O_RDWR)) < 0) { @@ -191,5 +187,4 @@ dprintf(1, "DTrace ioctl removed DOF (%d)\n", gen); (void) close(fd); -#endif }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608150229.k7F2TkkE083907>