summaryrefslogtreecommitdiff
path: root/src/misc/sched_yield.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/sched_yield.c')
-rw-r--r--src/misc/sched_yield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/sched_yield.c b/src/misc/sched_yield.c
index 8a68519e..6c0742b4 100644
--- a/src/misc/sched_yield.c
+++ b/src/misc/sched_yield.c
@@ -4,7 +4,7 @@
int __yield()
{
- return syscall0(__NR_sched_yield);
+ return syscall(SYS_sched_yield);
}
weak_alias(__yield, sched_yield);