diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 63e0febdcf79..c6197208ba0e 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -1302,7 +1302,7 @@ sched_switch(struct thread *td, struct thread *newtd, int flags) */ newtd->td_kse->ke_flags |= KEF_DIDRUN; SLOT_USE(newtd->td_ksegrp); - TD_SET_RUNNING(newtd); + TD_SET_RUNNING(newtd); kseq_load_add(KSEQ_SELF(), newtd->td_kse); } else newtd = choosethread();