Fix typo.
This commit is contained in:
parent
7f25f6c72d
commit
65df457797
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214335
@ -143,7 +143,7 @@ _pthread_attr_get_np(pthread_t pthread, pthread_attr_t *dstattr)
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user