MFC SVN rev 181099:

Correctly return result in pthread_condattr_getpshared.
This commit is contained in:
David Xu 2008-08-05 01:29:51 +00:00
parent 8a56d50f0f
commit ff0cf32d6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/7/; revision=181318

View File

@ -111,7 +111,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);
}