Date: Wed, 23 Jan 2008 22:36:13 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133957 for review Message-ID: <200801232236.m0NMaDfq022403@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133957 Change 133957 by jb@jb_freebsd1 on 2008/01/23 22:35:24 Use the thread-specific error returned by the last syscall. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#22 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/dtrace/dtrace.c#22 (text) ==== @@ -3006,7 +3006,7 @@ return ((uint64_t)lwp->lwp_errno); #else - return (0); + return (curthread->td_errno); #endif } default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801232236.m0NMaDfq022403>