projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
select: fix 64-bit timeout truncation on pre-time64 kernels
[musl]
/
src
/
sched
/
sched_setparam.c
diff --git
a/src/sched/sched_setparam.c
b/src/sched/sched_setparam.c
index
07d61ae
..
18623ee
100644
(file)
--- 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);
}