In function pthread_condattr_getpshared, store result correctly.
PR: kern/126128
This commit is contained in:
parent
d09462ac3e
commit
fc45432be6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181099
@ -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