diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index 6ef7741b5afe..3878d812d93a 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -1131,8 +1131,7 @@ DB_SHOW_COMMAND(sleepq, db_show_sleepqueue) td_slpq) { db_printf("\t%p (tid %d, pid %d, \"%s\")\n", td, td->td_tid, td->td_proc->p_pid, - td->td_name[0] != '\0' ? td->td_name : - td->td_proc->p_comm); + td->td_name); } } }