diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-09-22 00:40:23 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-09-22 00:40:23 +0000 |
commit | 96155432c1134cb7a91aa4aa31f8ad652684fce0 (patch) | |
tree | 84b347d8e3874d83f3203ec608db4e3792b589b6 /lib | |
parent | cff39a66f754e5cf9e9810112529281fb5606cc9 (diff) | |
download | FreeBSD-src-96155432c1134cb7a91aa4aa31f8ad652684fce0.zip FreeBSD-src-96155432c1134cb7a91aa4aa31f8ad652684fce0.tar.gz |
Print waitset correctly.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_info.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_info.c | 2 |
2 files changed, 2 insertions, 2 deletions
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"); diff --git a/lib/libpthread/thread/thr_info.c b/lib/libpthread/thread/thr_info.c index 27ef3d1..6081381 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"); |