In function pthread_condattr_getpshared, store result correctly.
PR: kern/126128
This commit is contained in:
parent
d09462ac3e
commit
fc45432be6
@ -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…
x
Reference in New Issue
Block a user