global cleanup to use the new syscall interface
[musl] / src / unistd / sync.c
index a49808f..20fafb4 100644 (file)
@@ -3,5 +3,5 @@
 
 void sync(void)
 {
-       syscall0(__NR_sync);
+       syscall(SYS_sync);
 }