add support for thread scheduling (POSIX TPS option)
[musl] / src / sched / sched_setparam.c
index 07d61ae..18623ee 100644 (file)
@@ -1,8 +1,8 @@
 #include <sched.h>
 #include <sched.h>
+#include <errno.h>
 #include "syscall.h"
 
 int sched_setparam(pid_t pid, const struct sched_param *param)
 {
 #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);
 }
 }