1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Print waitset correctly.

This commit is contained in:
David Xu 2003-09-22 00:40:23 +00:00
parent 47b03ede0c
commit 5dd6159cd4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120325
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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");