summary refs log tree commit diff
path: root/nptl_db/db_info.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-31 17:34:40 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-31 17:34:40 +0000
commit416b630981788c1f08e746e19765aa0e5c2a1360 (patch)
tree9fc3d6e4cdebb359108c8b1e2471314e8a7cce1c /nptl_db/db_info.c
parentedece8f10161ced3bed66845b7bee64f7e9fea4b (diff)
downloadglibc-416b630981788c1f08e746e19765aa0e5c2a1360.tar.gz
glibc-416b630981788c1f08e746e19765aa0e5c2a1360.tar.xz
glibc-416b630981788c1f08e746e19765aa0e5c2a1360.zip
* nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvp
	to sizeof a pointer, instead of sizeof the union.
Diffstat (limited to 'nptl_db/db_info.c')
-rw-r--r--nptl_db/db_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c
index 5000b99ba5..6d5eb4b1d8 100644
--- a/nptl_db/db_info.c
+++ b/nptl_db/db_info.c
@@ -59,7 +59,7 @@ typedef struct link_map link_map;
    i.e. at the very end of the area covered by TLS_PRE_TCB_SIZE.  */
 DESC (_thread_db_pthread_dtvp,
       TLS_PRE_TCB_SIZE + offsetof (tcbhead_t, dtv)
-      - (TLS_TCB_SIZE == 0 ? sizeof (tcbhead_t) : 0), union dtv)
+      - (TLS_TCB_SIZE == 0 ? sizeof (tcbhead_t) : 0), union dtv *)
 #endif