PERFORCE change 133957 for review

John Birrell jb at FreeBSD.org
Wed Jan 23 14:36:14 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=133957

Change 133957 by jb at 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:


More information about the p4-projects mailing list