Fix typo.
This commit is contained in:
parent
36f64247c7
commit
b4fee3c1ed
@ -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