In function pthread_condattr_getpshared, store result correctly.

PR:		kern/126128
This commit is contained in:
David Xu 2008-08-01 01:21:49 +00:00
parent d09462ac3e
commit fc45432be6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181099

View File

@ -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);
}