kern/159905: [patch] type specifier error /sys/kern/sched_ule.c

Ivan Klymenko fidaj at ukr.net
Fri Aug 19 10:20:11 UTC 2011


>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:


More information about the freebsd-bugs mailing list