diff options
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r-- | sys/kern/kern_switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index b7cb0b6b82db..48aa029d36fb 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; } |