about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/sched/sched_setscheduler.c2
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);
 }