summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2007-11-14 06:51:33 +0000
committerjulian <julian@FreeBSD.org>2007-11-14 06:51:33 +0000
commit7ee6259be7701ab7248b6032108d5b0ca1611e02 (patch)
treedd192a15818e2aa4717bfbda6077f52bdab43e0f /sys/kern/subr_trap.c
parentb2732e0c22b45ce7f1225a9c12834ec8c6bf9dda (diff)
downloadFreeBSD-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/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 2a45e7d..355faf2 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -79,7 +79,7 @@ userret(struct thread *td, struct trapframe *frame)
struct proc *p = td->td_proc;
CTR3(KTR_SYSC, "userret: thread %p (pid %d, %s)", td, p->p_pid,
- p->p_comm);
+ td->td_name);
#ifdef DIAGNOSTIC
/* Check that we called signotify() enough. */
PROC_LOCK(p);
OpenPOWER on IntegriCloud