PERFORCE change 61368 for review
Julian Elischer
julian at FreeBSD.org
Sat Sep 11 17:23:07 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=61368
Change 61368 by julian at julian_ref on 2004/09/12 00:22:52
Compile!
Affected files ...
.. //depot/projects/nsched/sys/kern/kern_switch.c#21 edit
Differences ...
==== //depot/projects/nsched/sys/kern/kern_switch.c#21 (text+ko) ====
@@ -129,17 +129,17 @@
TAILQ_FOREACH(td2, &kg->kg_runq, td_runq) {
/* XXX Debugging hack */
if (!TD_ON_RUNQ(td2)) {
- printf("%s: line %d", file line);
+ printf("%s: line %d", file, line);
printf("thread in wrong state, td2= %p\n", td2);
panic("corruption in runqueue");
}
if (td == td2) {
- printf("%s: line %d", file line);
+ printf("%s: line %d", file, line);
printf("thread alreadyin runq, td2= %p\n", td);
panic("confusion in runqueue");
}
if (++count > 10000) {
- printf("%s: line %d", file line);
+ printf("%s: line %d", file, line);
printf("corrupt kg_runq, td= %p\n", td);
panic("deadlock in runqueue");
}
More information about the p4-projects
mailing list