svn commit: r214335 - head/lib/libthr/thread

David Xu davidxu at FreeBSD.org
Mon Oct 25 11:16:50 UTC 2010


Author: davidxu
Date: Mon Oct 25 11:16:50 2010
New Revision: 214335
URL: http://svn.freebsd.org/changeset/base/214335

Log:
  Fix typo.

Modified:
  head/lib/libthr/thread/thr_attr.c

Modified: head/lib/libthr/thread/thr_attr.c
==============================================================================
--- head/lib/libthr/thread/thr_attr.c	Mon Oct 25 09:16:04 2010	(r214334)
+++ head/lib/libthr/thread/thr_attr.c	Mon Oct 25 11:16:50 2010	(r214335)
@@ -143,7 +143,7 @@ _pthread_attr_get_np(pthread_t pthread, 
 	int	ret;
 	size_t	cpusetsize;
 
-	if (pthread == NULL || dst_attr == NULL || (dst = *dstattr) == NULL)
+	if (pthread == NULL || dstattr == NULL || (dst = *dstattr) == NULL)
 		return (EINVAL);
 	cpusetsize = _get_kern_cpuset_size();
 	if (dst->cpusetsize < cpusetsize) {


More information about the svn-src-head mailing list