mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
In function pthread_condattr_getpshared, store result correctly.
PR: kern/126128
This commit is contained in:
parent
d09462ac3e
commit
fc45432be6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue