summaryrefslogtreecommitdiff
path: root/pthread_setspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_setspecific.c')
-rw-r--r--pthread_setspecific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_setspecific.c b/pthread_setspecific.c
index 3c630cf..f06b696 100644
--- a/pthread_setspecific.c
+++ b/pthread_setspecific.c
@@ -147,7 +147,7 @@ pthread_setspecific (pthread_key_t key, const void *value)
*/
if (assoc == NULL)
{
- result = ptw32_tkAssocCreate (&assoc, sp, key);
+ result = ptw32_tkAssocCreate (sp, key);
}
(void) pthread_mutex_unlock(&(sp->threadLock));