projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'nsz/review'
[musl]
/
src
/
sched
/
sched_setscheduler.c
diff --git
a/src/sched/sched_setscheduler.c
b/src/sched/sched_setscheduler.c
index
1958066
..
4435f21
100644
(file)
--- a/
src/sched/sched_setscheduler.c
+++ b/
src/sched/sched_setscheduler.c
@@
-1,8
+1,8
@@
#include <sched.h>
#include <sched.h>
+#include <errno.h>
#include "syscall.h"
int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
{
#include "syscall.h"
int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
{
- static const struct sched_param def;
- return syscall(SYS_sched_setscheduler, pid, 0, &def);
+ return __syscall_ret(-ENOSYS);
}
}