summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_info_openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/uthread/uthread_info_openbsd.c')
-rw-r--r--lib/libpthread/uthread/uthread_info_openbsd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libpthread/uthread/uthread_info_openbsd.c b/lib/libpthread/uthread/uthread_info_openbsd.c
index 6a5d24ddf3d..439bf6a7655 100644
--- a/lib/libpthread/uthread/uthread_info_openbsd.c
+++ b/lib/libpthread/uthread/uthread_info_openbsd.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_info_openbsd.c,v 1.3 2000/02/26 13:32:01 d Exp $
+ * $OpenBSD: uthread_info_openbsd.c,v 1.4 2001/12/08 14:51:36 fgsch Exp $
*/
#include <stdio.h>
#include <fcntl.h>
@@ -129,8 +129,7 @@ _thread_dump_entry(pthread, fd, verbose)
pthread->active_priority,
(pthread->flags & PTHREAD_FLAGS_PRIVATE) ? 'p' : '-',
(pthread->flags & PTHREAD_EXITING) ? 'E' :
- (pthread->flags & PTHREAD_FLAGS_CANCELED) ? 'C' :
- (pthread->flags & PTHREAD_FLAGS_CANCELPT) ? 'c' : '-',
+ (pthread->cancelflags & PTHREAD_AT_CANCEL_POINT) ? 'c' : '-',
(pthread->flags & PTHREAD_FLAGS_TRACE) ? 't' : '-',
(pthread->flags & PTHREAD_FLAGS_IN_CONDQ) ? 'C' : '-',
(pthread->flags & PTHREAD_FLAGS_IN_WORKQ) ? 'R' : '-',