summaryrefslogtreecommitdiff
path: root/src/sched/sched_get_priority_max.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched/sched_get_priority_max.c')
-rw-r--r--src/sched/sched_get_priority_max.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sched/sched_get_priority_max.c b/src/sched/sched_get_priority_max.c
index 64cbca93..30ae5100 100644
--- a/src/sched/sched_get_priority_max.c
+++ b/src/sched/sched_get_priority_max.c
@@ -1,11 +1,12 @@
#include <sched.h>
+#include "syscall.h"
int sched_get_priority_max(int policy)
{
- return 0;
+ return syscall(SYS_sched_get_priority_max, policy);
}
int sched_get_priority_min(int policy)
{
- return 0;
+ return syscall(SYS_sched_get_priority_min, policy);
}