--- kern/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kern/thread.c b/kern/thread.c index 38287581..de9d1982 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -1921,7 +1921,7 @@ Restart: * Reset policy and priorities if needed. */ #if MACH_FIXPRI - if (thread->policy & new_pset->policies == 0) { + if ((thread->policy & new_pset->policies) == 0) { thread->policy = POLICY_TIMESHARE; recompute_pri = TRUE; } -- 2.43.0
- [PATCH gnumach] smp: Fix parenthesis around logic expressi... Damien Zammit
- Re: [PATCH gnumach] smp: Fix parenthesis around logic... Samuel Thibault