about summary refs log tree commit diff
path: root/src/unistd/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/sync.c')
-rw-r--r--src/unistd/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/sync.c b/src/unistd/sync.c
index a49808fd..20fafb4a 100644
--- a/src/unistd/sync.c
+++ b/src/unistd/sync.c
@@ -3,5 +3,5 @@
 
 void sync(void)
 {
-	syscall0(__NR_sync);
+	syscall(SYS_sync);
 }