about summary refs log tree commit diff
path: root/nptl/pthread_getspecific.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_getspecific.c')
-rw-r--r--nptl/pthread_getspecific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_getspecific.c b/nptl/pthread_getspecific.c
index 9e3b69480a..8b55364e2e 100644
--- a/nptl/pthread_getspecific.c
+++ b/nptl/pthread_getspecific.c
@@ -45,7 +45,7 @@ __pthread_getspecific (key)
 	 for this thread since the second level array is not allocated
 	 return NULL, too.  */
       struct pthread_key_data *level2 = THREAD_GETMEM_NC (THREAD_SELF,
-							  specific[idx1st]);
+							  specific, idx1st);
       if (level2 == NULL)
 	/* Not allocated, therefore no data.  */
 	return NULL;