Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2004 00:23:06 GMT
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 61368 for review
Message-ID:  <200409120023.i8C0N6Ck012026@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=61368

Change 61368 by julian@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");
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409120023.i8C0N6Ck012026>