diff options
Diffstat (limited to 'nptl/pthread_setspecific.c')
-rw-r--r-- | nptl/pthread_setspecific.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_setspecific.c b/nptl/pthread_setspecific.c index 5af6cae83e..d0ee6208c6 100644 --- a/nptl/pthread_setspecific.c +++ b/nptl/pthread_setspecific.c @@ -57,7 +57,7 @@ __pthread_setspecific (key, value) idx2nd = key % PTHREAD_KEY_2NDLEVEL_SIZE; /* This is the second level array. Allocate it if necessary. */ - level2 = THREAD_GETMEM_NC (self, specific[idx1st]); + level2 = THREAD_GETMEM_NC (self, specific, idx1st); if (level2 == NULL) { if (value == NULL) @@ -71,7 +71,7 @@ __pthread_setspecific (key, value) if (level2 == NULL) return ENOMEM; - THREAD_SETMEM_NC (self, specific[idx1st], level2); + THREAD_SETMEM_NC (self, specific, idx1st, level2); } /* Pointer to the right array element. */ |