add support for thread scheduling (POSIX TPS option)
[musl] / src / sched / sched_getparam.c
index 65be107..76f10e4 100644 (file)
@@ -1,7 +1,8 @@
 #include <sched.h>
+#include <errno.h>
 #include "syscall.h"
 
 int sched_getparam(pid_t pid, struct sched_param *param)
 {
-       return syscall(SYS_sched_getparam, pid, param);
+       return __syscall_ret(-ENOSYS);
 }