mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
MFC SVN rev 181099:
Correctly return result in pthread_condattr_getpshared.
This commit is contained in:
parent
8a56d50f0f
commit
ff0cf32d6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/7/; revision=181318
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user