about summary refs log tree commit diff
path: root/src/sched/sched_getparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched/sched_getparam.c')
-rw-r--r--src/sched/sched_getparam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sched/sched_getparam.c b/src/sched/sched_getparam.c
index 65be1075..76f10e49 100644
--- a/src/sched/sched_getparam.c
+++ b/src/sched/sched_getparam.c
@@ -1,7 +1,8 @@
 #include <sched.h>
+#include <errno.h>
 #include "syscall.h"
 
 int sched_getparam(pid_t pid, struct sched_param *param)
 {
-	return syscall(SYS_sched_getparam, pid, param);
+	return __syscall_ret(-ENOSYS);
 }