summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-08-26 18:00:07 +0000
committerdelphij <delphij@FreeBSD.org>2011-08-26 18:00:07 +0000
commitf687a7bf6f36dabd655e27e31d4b0d5cccbee5b8 (patch)
treeb98f951666aeddef19b483d7838c8b16e286dd63 /sys/kern/sched_4bsd.c
parent1fcff6eeb62aa56b7131d2bcc1dafeb8bc67f2c5 (diff)
downloadFreeBSD-src-f687a7bf6f36dabd655e27e31d4b0d5cccbee5b8.zip
FreeBSD-src-f687a7bf6f36dabd655e27e31d4b0d5cccbee5b8.tar.gz
Fix format strings for KTR_STATE in 4BSD ad ULE schedulers.
Submitted by: Ivan Klymenko <fidaj@ukr.net> PR: kern/159904, kern/159905 MFC after: 2 weeks Approved by: re (kib)
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 574755f0..136080c 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -720,7 +720,7 @@ sched_exit(struct proc *p, struct thread *td)
{
KTR_STATE1(KTR_SCHED, "thread", sched_tdname(td), "proc exit",
- "prio:td", td->td_priority);
+ "prio:%d", td->td_priority);
PROC_LOCK_ASSERT(p, MA_OWNED);
sched_exit_thread(FIRST_THREAD_IN_PROC(p), td);
@@ -731,7 +731,7 @@ sched_exit_thread(struct thread *td, struct thread *child)
{
KTR_STATE1(KTR_SCHED, "thread", sched_tdname(child), "exit",
- "prio:td", child->td_priority);
+ "prio:%d", child->td_priority);
thread_lock(td);
td->td_estcpu = ESTCPULIM(td->td_estcpu + child->td_estcpu);
thread_unlock(td);
OpenPOWER on IntegriCloud