about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/mman/msync.c2
-rw-r--r--src/unistd/fdatasync.c2
-rw-r--r--src/unistd/fsync.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mman/msync.c b/src/mman/msync.c
index bb20475b..fcd8cdf9 100644
--- a/src/mman/msync.c
+++ b/src/mman/msync.c
@@ -3,5 +3,5 @@
 
 int msync(void *start, size_t len, int flags)
 {
-	return syscall(SYS_msync, start, len, flags);
+	return syscall_cp(SYS_msync, start, len, flags);
 }
diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c
index dd4d41c7..3895ae53 100644
--- a/src/unistd/fdatasync.c
+++ b/src/unistd/fdatasync.c
@@ -3,5 +3,5 @@
 
 int fdatasync(int fd)
 {
-	return syscall(SYS_fdatasync, fd);
+	return syscall_cp(SYS_fdatasync, fd);
 }
diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c
index dc4727cc..7a1c80b5 100644
--- a/src/unistd/fsync.c
+++ b/src/unistd/fsync.c
@@ -3,5 +3,5 @@
 
 int fsync(int fd)
 {
-	return syscall(SYS_fsync, fd);
+	return syscall_cp(SYS_fsync, fd);
 }