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