diff options
Diffstat (limited to 'src/sched/sched_getscheduler.c')
-rw-r--r-- | src/sched/sched_getscheduler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sched/sched_getscheduler.c b/src/sched/sched_getscheduler.c index 4c922f69..394e508b 100644 --- a/src/sched/sched_getscheduler.c +++ b/src/sched/sched_getscheduler.c @@ -1,7 +1,8 @@ #include <sched.h> +#include <errno.h> #include "syscall.h" int sched_getscheduler(pid_t pid) { - return syscall(SYS_sched_getscheduler, pid); + return __syscall_ret(-ENOSYS); } |