summaryrefslogtreecommitdiff
path: root/nptl_db/td_thr_tls_get_addr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-10 18:59:25 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-10 18:59:25 +0000
commitf39f0b9397ee5788653af80101ec15d01d2b0b2f (patch)
tree6b29c5db7e438cd064cab32bb2b9aea073fcd714 /nptl_db/td_thr_tls_get_addr.c
parentd38c777e8de8c64058e6309264563d1c7b46c872 (diff)
Update for TC change.
Diffstat (limited to 'nptl_db/td_thr_tls_get_addr.c')
-rw-r--r--nptl_db/td_thr_tls_get_addr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nptl_db/td_thr_tls_get_addr.c b/nptl_db/td_thr_tls_get_addr.c
index 5bbdc50c3f..1c4aab4715 100644
--- a/nptl_db/td_thr_tls_get_addr.c
+++ b/nptl_db/td_thr_tls_get_addr.c
@@ -1,5 +1,5 @@
/* Get address of thread local variable.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -39,8 +39,7 @@ td_thr_tls_get_addr (const td_thrhandle_t *th __attribute__ ((unused)),
LOG ("td_thr_tls_get_addr");
/* Get the DTV pointer from the thread descriptor. */
- if (ps_pdread (th->th_ta_p->ph,
- &((struct pthread *) th->th_unique)->header.data.dtvp,
+ if (ps_pdread (th->th_ta_p->ph, &((struct pthread *) th->th_unique)->dtv,
&dtvp, sizeof dtvp) != PS_OK)
return TD_ERR; /* XXX Other error value? */