MFC SVN rev 181099:

Correctly return result in pthread_condattr_getpshared.
This commit is contained in:
davidxu 2008-08-05 01:23:23 +00:00
parent 207558cd6a
commit dcfb6cc405

View File

@ -112,7 +112,7 @@ _pthread_condattr_getpshared(const pthread_condattr_t *attr,
if (attr == NULL || *attr == NULL)
return (EINVAL);
pshared = PTHREAD_PROCESS_PRIVATE;
*pshared = PTHREAD_PROCESS_PRIVATE;
return (0);
}