about summary refs log tree commit diff
path: root/src/mman/msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mman/msync.c')
-rw-r--r--src/mman/msync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mman/msync.c b/src/mman/msync.c
index e0926470..eaf35d3b 100644
--- a/src/mman/msync.c
+++ b/src/mman/msync.c
@@ -4,5 +4,5 @@
 
 int msync(void *start, size_t len, int flags)
 {
-	return syscall3(__NR_msync, (long)start, len, flags);
+	return syscall(SYS_msync, start, len, flags);
 }