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