about summary refs log tree commit diff
path: root/nptl_db/td_ta_thr_iter.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl_db/td_ta_thr_iter.c')
-rw-r--r--nptl_db/td_ta_thr_iter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c
index 68b5427a7d..b52e1cd890 100644
--- a/nptl_db/td_ta_thr_iter.c
+++ b/nptl_db/td_ta_thr_iter.c
@@ -1,5 +1,5 @@
 /* Iterate over a process's threads.
-   Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 1999.
 
@@ -90,7 +90,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback,
 	      break;
 	    }
 
-	  if ((cancelhandling & TERMINATED_BIT) == 0)
+	  if ((cancelhandling & TERMINATED_BITMASK) == 0)
 	    {
 	      /* Yep, it matches.  Call the callback function.  */
 	      td_thrhandle_t th;