diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-05-27 18:37:29 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-05-27 18:37:29 +0000 |
commit | e4ce4d3aa636b753da0b941e41128018aca6ade3 (patch) | |
tree | 9bdb58c1c29db72adff6eae14ea63c2aeeba5dee /sysdeps | |
parent | 7c6708ed26c318abbf7ca8bacc2eea50c9dcb459 (diff) |
2008-05-27 Neal H. Walfield <neal@gnu.org>
* sysdeps/mach/hurd/pt-docancel.c (__pthread_do_cancel): Fix
assert.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/pt-docancel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/pt-docancel.c b/sysdeps/mach/hurd/pt-docancel.c index bac62a7..b81a5c7 100644 --- a/sysdeps/mach/hurd/pt-docancel.c +++ b/sysdeps/mach/hurd/pt-docancel.c @@ -1,5 +1,5 @@ /* Cancel a thread. - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,7 +33,7 @@ __pthread_do_cancel (struct __pthread *p) mach_port_t ktid; int me; - assert (p->cancel_pending = 1); + assert (p->cancel_pending == 1); assert (p->cancel_state == PTHREAD_CANCEL_ENABLE); ktid = __mach_thread_self (); |