summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-17 22:01:01 +0000
committerjhb <jhb@FreeBSD.org>2003-04-17 22:01:01 +0000
commitac139f59144a448a02f3a05a97130f2435817fb8 (patch)
treeadbaa7a126aa66dcc18f6090e8cdfba919abb4e0 /sys/kern/kern_intr.c
parentc4dbd4b4f23bc209a2b23f08b4f8b4f337fa21f3 (diff)
downloadFreeBSD-src-ac139f59144a448a02f3a05a97130f2435817fb8.zip
FreeBSD-src-ac139f59144a448a02f3a05a97130f2435817fb8.tar.gz
Adjust a KTR trace to log thread state instead of proc state as that is
more relevant.
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r--sys/kern/kern_intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index d2d72ae..cd193e0 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -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);
OpenPOWER on IntegriCloud