diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-10-17 20:26:26 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-10-17 20:26:26 +0000 |
commit | 2271050e4cb8196e4b9d659fe6d34cba79db0047 (patch) | |
tree | 04d45e1c8e39fbf69da0b9b33ed53d9361048583 /lib | |
parent | 1e0cdb534a593672b1178f980abd762bd316b57d (diff) | |
download | FreeBSD-src-2271050e4cb8196e4b9d659fe6d34cba79db0047.zip FreeBSD-src-2271050e4cb8196e4b9d659fe6d34cba79db0047.tar.gz |
FD locking is not enabled anymore, so the table which contains the owner
of a file descriptor has NULL entries, so don't dereference the table entries
to get the owners ever -- don't print the owners when processing a thread_dump
request as a result of SIGINFO.
Reviewed by: deischen
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc_r/uthread/uthread_info.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_info.c b/lib/libc_r/uthread/uthread_info.c index 0193e04..c8bc4d5 100644 --- a/lib/libc_r/uthread/uthread_info.c +++ b/lib/libc_r/uthread/uthread_info.c @@ -252,10 +252,6 @@ dump_thread(int fd, pthread_t pthread, int long_version) pthread->data.fd.fname, pthread->data.fd.branch); __sys_write(fd, s, strlen(s)); - snprintf(s, sizeof(s), "owner %pr/%pw\n", - _thread_fd_table[pthread->data.fd.fd]->r_owner, - _thread_fd_table[pthread->data.fd.fd]->w_owner); - __sys_write(fd, s, strlen(s)); break; case PS_SIGWAIT: snprintf(s, sizeof(s), "sigmask (hi)"); |