X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fsched%2Fsched_setparam.c;h=18623ee49b15ae91e30fe271466532f45d1b75c8;hp=07d61aea98ad8371b64a27b931a37cc1471ed423;hb=1e21e78bf7a5c24c217446d8760be7b7188711c2;hpb=e9b885ee550e8a3eabc9d11c469baf1cfaf64f55 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 +#include #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); }