mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-18 03:33:48 +08:00
Update.
This commit is contained in:
@@ -51,7 +51,7 @@ td_thr_tsd (const td_thrhandle_t *th, const thread_key_t tk, void **data)
|
||||
return TD_BADKEY;
|
||||
|
||||
/* Get the key entry. */
|
||||
if (ps_pdread (th->th_ta_p->ph, keys, &key,
|
||||
if (ps_pdread (th->th_ta_p->ph, &keys[tk], &key,
|
||||
sizeof (struct pthread_key_struct)) != PS_OK)
|
||||
return TD_ERR; /* XXX Other error value? */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user