Adjust a KTR trace to log thread state instead of proc state as that is

more relevant.
This commit is contained in:
John Baldwin 2003-04-17 22:01:01 +00:00
parent 418e9d1b9e
commit 9520fc2bed

View File

@ -404,7 +404,7 @@ ithread_schedule(struct ithd *ithread, int do_switch)
}
} else {
CTR4(KTR_INTR, "%s: pid %d: it_need %d, state %d",
__func__, p->p_pid, ithread->it_need, p->p_state);
__func__, p->p_pid, ithread->it_need, td->td_state);
}
mtx_unlock_spin(&sched_lock);