From 96155432c1134cb7a91aa4aa31f8ad652684fce0 Mon Sep 17 00:00:00 2001 From: davidxu Date: Mon, 22 Sep 2003 00:40:23 +0000 Subject: Print waitset correctly. --- lib/libkse/thread/thr_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libkse') diff --git a/lib/libkse/thread/thr_info.c b/lib/libkse/thread/thr_info.c index 27ef3d1..6081381 100644 --- a/lib/libkse/thread/thr_info.c +++ b/lib/libkse/thread/thr_info.c @@ -185,7 +185,7 @@ dump_thread(int fd, pthread_t pthread, int long_version) __sys_write(fd, s, strlen(s)); for (i = _SIG_WORDS - 1; i >= 0; i--) { snprintf(s, sizeof(s), "%08x ", - ~pthread->sigmask.__bits[i]); + pthread->data.sigwait->waitset->__bits[i]); __sys_write(fd, s, strlen(s)); } snprintf(s, sizeof(s), "(lo)\n"); -- cgit v1.1