about summary refs log tree commit diff
path: root/nptl_db/td_thr_setgregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl_db/td_thr_setgregs.c')
-rw-r--r--nptl_db/td_thr_setgregs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl_db/td_thr_setgregs.c b/nptl_db/td_thr_setgregs.c
index d46e32a11e..f20c78f426 100644
--- a/nptl_db/td_thr_setgregs.c
+++ b/nptl_db/td_thr_setgregs.c
@@ -1,5 +1,5 @@
 /* Set a thread's general register set.
-   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.
 
@@ -34,7 +34,7 @@ td_thr_setgregs (const td_thrhandle_t *th, prgregset_t gregs)
     return TD_ERR;
 
   /* Only set the registers if the thread hasn't yet terminated.  */
-  if ((cancelhandling & TERMINATED_BIT) == 0)
+  if ((cancelhandling & TERMINATED_BITMASK) == 0)
     {
       pid_t tid;