summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-05-12 06:42:06 +0000
committerjulian <julian@FreeBSD.org>2008-05-12 06:42:06 +0000
commit27367de06f4f053f5e91c588e70d069f86d58e33 (patch)
tree11bc1a188f8b6c5ce8c6fe0f5360bf878ffce994 /sys/kern/kern_switch.c
parent205380c6ba6b50603d508e772c94c76fc484cd78 (diff)
downloadFreeBSD-src-27367de06f4f053f5e91c588e70d069f86d58e33.zip
FreeBSD-src-27367de06f4f053f5e91c588e70d069f86d58e33.tar.gz
fix typo in runz_fuzz
noticed by:Elijah Buck
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r--sys/kern/kern_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index b7cb0b6..48aa029 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -394,7 +394,7 @@ runq_choose_fuzz(struct runq *rq, int fuzz)
td2 = td = TAILQ_FIRST(rqh);
while (count-- && td2) {
- if (td->td_lastcpu == cpu) {
+ if (td2->td_lastcpu == cpu) {
td = td2;
break;
}
OpenPOWER on IntegriCloud