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 | b2a1b2813ee59a9a1a789e49146ffb6fb1001eb7 (patch) | |
tree | 034de6a086bcf0b1ea5e53c5161b5657f3957e2c | |
parent | 8ac35b7d58b6272f4f7ada6080d81e74b72504b3 (diff) |
2008-05-27 Neal H. Walfield <neal@gnu.org>
* sysdeps/mach/hurd/pt-docancel.c (__pthread_do_cancel): Fix
assert.
-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 bac62a71..b81a5c70 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 (); |