mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Print waitset correctly.
This commit is contained in:
parent
47b03ede0c
commit
5dd6159cd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120325
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user