diff options
-rw-r--r-- | lib/libthr/thread/thr_condattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_condattr.c b/lib/libthr/thread/thr_condattr.c index c8f1703..f2b126f 100644 --- a/lib/libthr/thread/thr_condattr.c +++ b/lib/libthr/thread/thr_condattr.c @@ -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); } |