diff options
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r-- | nptl/pthread_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 74f3e9a82a..89152ffeb9 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -162,8 +162,8 @@ deallocate_tsd (struct pthread *pd) } else /* Clear the memory of the first block for reuse. */ - memset (pd->specific[0], '\0', - sizeof (struct pthread_key_data)); + memset (&pd->specific_1stblock, '\0', + sizeof (pd->specific_1stblock)); } else idx += PTHREAD_KEY_1STLEVEL_SIZE; |