aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 880078497eb5..7b44e12ef330 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -952,7 +952,7 @@ sched_lend_user_prio_cond(struct thread *td, u_char prio)
goto lend;
if (td->td_user_pri != min(prio, td->td_base_user_pri))
goto lend;
- if (td->td_priority >= td->td_user_pri)
+ if (td->td_priority != td->td_user_pri)
goto lend;
return;