Date: Fri, 19 Aug 2011 10:18:20 GMT From: Ivan Klymenko <fidaj@ukr.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/159905: [patch] type specifier error /sys/kern/sched_ule.c Message-ID: <201108191018.p7JAIKAK046567@red.freebsd.org> Resent-Message-ID: <201108191020.p7JAKAWI046069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159905 >Category: kern >Synopsis: [patch] type specifier error /sys/kern/sched_ule.c >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 19 10:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ivan Klymenko >Release: FreeBSD 9.0-BETA1 amd64 >Organization: individual >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: --- sched_ule.c.orig 2011-08-19 13:13:06.000000000 +0300 +++ sched_ule.c 2011-08-19 13:13:24.000000000 +0300 @@ -2022,7 +2022,7 @@ struct thread *td; KTR_STATE1(KTR_SCHED, "thread", sched_tdname(child), "proc exit", - "prio:td", child->td_priority); + "prio:%d", child->td_priority); PROC_LOCK_ASSERT(p, MA_OWNED); td = FIRST_THREAD_IN_PROC(p); sched_exit_thread(td, child); @@ -2039,7 +2039,7 @@ { KTR_STATE1(KTR_SCHED, "thread", sched_tdname(child), "thread exit", - "prio:td", child->td_priority); + "prio:%d", child->td_priority); /* * Give the child's runtime to the parent without returning the * sleep time as a penalty to the parent. This causes shells that >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108191018.p7JAIKAK046567>