summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 88537ea5..a36f043f 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1521,7 +1521,7 @@ thread_setup_reaper(void)
attr.task = kernel_task;
attr.name = "x15_reaper";
- attr.sched_policy = THREAD_SCHED_CLASS_TS;
+ attr.sched_policy = THREAD_SCHED_POLICY_TS;
attr.priority = THREAD_SCHED_TS_PRIO_DEFAULT;
error = thread_create(&thread, &attr, thread_reaper, NULL);