MFC SVN rev 181099:
Correctly return result in pthread_condattr_getpshared.
This commit is contained in:
parent
207558cd6a
commit
dcfb6cc405
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user