diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-03 23:19:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-03 23:19:29 -0400 |
commit | b4560a6da918ce3b63e87a78a3a3956f514e24ce (patch) | |
tree | 1eb0e0136ddaae9a364b459e944749455071d41f /src | |
parent | 61be1cfec1f5da66c68f92a6939e3a38e673c9d6 (diff) | |
download | musl-b4560a6da918ce3b63e87a78a3a3956f514e24ce.tar.gz musl-b4560a6da918ce3b63e87a78a3a3956f514e24ce.tar.xz musl-b4560a6da918ce3b63e87a78a3a3956f514e24ce.zip |
avoid setting nondefault scheduler too
Diffstat (limited to 'src')
-rw-r--r-- | src/sched/sched_setscheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched/sched_setscheduler.c b/src/sched/sched_setscheduler.c index acf5dc25..19580660 100644 --- a/src/sched/sched_setscheduler.c +++ b/src/sched/sched_setscheduler.c @@ -4,5 +4,5 @@ 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, sched, &def); + return syscall(SYS_sched_setscheduler, pid, 0, &def); } |