summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_witness.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_witness.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_witness.c')
-rw-r--r--sys/kern/subr_witness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index c46bf94..a24a188 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -2016,7 +2016,7 @@ DB_SHOW_COMMAND(alllocks, db_witness_list_all)
if (!witness_thread_has_locks(td))
continue;
db_printf("Process %d (%s) thread %p (%d)\n", p->p_pid,
- p->p_comm, td, td->td_tid);
+ td->td_name, td, td->td_tid);
witness_list(td);
}
}
OpenPOWER on IntegriCloud