diff options
author | Damien Zammit <damien@zamaudio.com> | 2024-02-17 18:21:26 +1100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-19 00:47:22 +0100 |
commit | e394404964dcf6b1181bf4b3dba07442c1d2eebf (patch) | |
tree | fbf8ddcdc1d7d67321f3824b8a0e7971172a1707 /kern | |
parent | ff3f259ceab38064953e04384d2b529f7b9aca34 (diff) | |
download | gnumach-e394404964dcf6b1181bf4b3dba07442c1d2eebf.tar.gz gnumach-e394404964dcf6b1181bf4b3dba07442c1d2eebf.tar.bz2 gnumach-e394404964dcf6b1181bf4b3dba07442c1d2eebf.zip |
kern: Fix parenthesis around assignment used as value
Diffstat (limited to 'kern')
-rw-r--r-- | kern/sched_prim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/sched_prim.c b/kern/sched_prim.c index 5ee0521a..28792194 100644 --- a/kern/sched_prim.c +++ b/kern/sched_prim.c @@ -1965,7 +1965,7 @@ void do_thread_scan(void) #if MACH_HOST simple_lock(&all_psets_lock); queue_iterate(&all_psets, pset, processor_set_t, all_psets) { - if (restart_needed = do_runq_scan(&pset->runq)) + if ((restart_needed = do_runq_scan(&pset->runq))) break; } simple_unlock(&all_psets_lock); |