diff options
author | julian <julian@FreeBSD.org> | 2007-11-14 06:51:33 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-11-14 06:51:33 +0000 |
commit | 7ee6259be7701ab7248b6032108d5b0ca1611e02 (patch) | |
tree | dd192a15818e2aa4717bfbda6077f52bdab43e0f /sys/kern/kern_thread.c | |
parent | b2732e0c22b45ce7f1225a9c12834ec8c6bf9dda (diff) | |
download | FreeBSD-src-7ee6259be7701ab7248b6032108d5b0ca1611e02.zip FreeBSD-src-7ee6259be7701ab7248b6032108d5b0ca1611e02.tar.gz |
A bunch more files that should probably print out a thread name
instead of a process name.
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index bf6dec2..e1a27a5 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -393,7 +393,7 @@ thread_exit(void) PROC_LOCK_ASSERT(p, MA_OWNED); KASSERT(p != NULL, ("thread exiting without a process")); CTR3(KTR_PROC, "thread_exit: thread %p (pid %ld, %s)", td, - (long)p->p_pid, p->p_comm); + (long)p->p_pid, td->td_name); KASSERT(TAILQ_EMPTY(&td->td_sigqueue.sq_list), ("signal pending")); #ifdef AUDIT |