From 5dd6159cd46599e57525693833ae175f6a297c80 Mon Sep 17 00:00:00 2001 From: David Xu Date: Mon, 22 Sep 2003 00:40:23 +0000 Subject: Print waitset correctly. --- lib/libpthread/thread/thr_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread') diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index 27ef3d1fbfa3..60813819c50c 100644 --- a/lib/libpthread/thread/thr_info.c +++ b/lib/libpthread/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.3