diff options
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 722ef92..9c24e17 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -80,7 +80,7 @@ userret(td, frame, oticks) mtx_unlock(&Giant); mtx_lock_spin(&sched_lock); - kg->kg_pri.pri_level = kg->kg_pri.pri_user; + td->td_priority = kg->kg_user_pri; if (ke->ke_flags & KEF_NEEDRESCHED) { DROP_GIANT(); setrunqueue(td); |