diff options
Diffstat (limited to 'src/sched/sched_setscheduler.c')
-rw-r--r-- | src/sched/sched_setscheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sched/sched_setscheduler.c b/src/sched/sched_setscheduler.c index 19580660..4435f216 100644 --- a/src/sched/sched_setscheduler.c +++ b/src/sched/sched_setscheduler.c @@ -1,8 +1,8 @@ #include <sched.h> +#include <errno.h> #include "syscall.h" int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param) { - static const struct sched_param def; - return syscall(SYS_sched_setscheduler, pid, 0, &def); + return __syscall_ret(-ENOSYS); } |