Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2010 11:16:50 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214335 - head/lib/libthr/thread
Message-ID:  <201010251116.o9PBGoiY063076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010251116.o9PBGoiY063076>