mirror of
https://github.com/fluencelabs/musl
synced 2025-06-17 08:51:44 +00:00
avoid setting nondefault scheduler too
This commit is contained in:
@ -4,5 +4,5 @@
|
|||||||
int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
|
int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
|
||||||
{
|
{
|
||||||
static const struct sched_param def;
|
static const struct sched_param def;
|
||||||
return syscall(SYS_sched_setscheduler, pid, sched, &def);
|
return syscall(SYS_sched_setscheduler, pid, 0, &def);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user