make stdio open, read, and write operations cancellation points
[oweals/musl.git] / src / misc / sched_yield.c
index 8a68519e4720ae48fbff634113913b85f30525c9..6c0742b4ec0c0e00da44b5db1d19220f97baacaa 100644 (file)
@@ -4,7 +4,7 @@
 
 int __yield()
 {
-       return syscall0(__NR_sched_yield);
+       return syscall(SYS_sched_yield);
 }
 
 weak_alias(__yield, sched_yield);