about summary refs log tree commit diff
path: root/nptl_db/td_thr_validate.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_validate.c
parentd38c777e8de8c64058e6309264563d1c7b46c872 (diff)
downloadglibc-f39f0b9397ee5788653af80101ec15d01d2b0b2f.tar.gz
glibc-f39f0b9397ee5788653af80101ec15d01d2b0b2f.tar.xz
glibc-f39f0b9397ee5788653af80101ec15d01d2b0b2f.zip
Update for TC change.
Diffstat (limited to 'nptl_db/td_thr_validate.c')
-rw-r--r--nptl_db/td_thr_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl_db/td_thr_validate.c b/nptl_db/td_thr_validate.c
index 76cbad31cf..28fec6a00e 100644
--- a/nptl_db/td_thr_validate.c
+++ b/nptl_db/td_thr_validate.c
@@ -1,5 +1,5 @@
 /* Validate a thread handle.
-   Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 1999.
 
@@ -32,7 +32,7 @@ check_thread_list (const td_thrhandle_t *th, psaddr_t head)
     return TD_ERR;	/* XXX Other error value?  */
 
   while (list.next != head)
-    if ((psaddr_t) list.next - offsetof (struct pthread, header.data.list)
+    if ((psaddr_t) list.next - offsetof (struct pthread, list)
 	== th->th_unique)
       {
 	result = TD_OK;