about summary refs log tree commit diff
path: root/src/mman/msync.c
diff options
context:
space:
mode:
authorTrutz Behn <me@trutz.be>2015-01-28 18:46:54 +0100
committerRich Felker <dalias@aerifal.cx>2015-01-30 22:05:40 -0500
commit0b21a07c783d18051d86b1d6ddc04a8ea716a12f (patch)
tree5f1a454bdb773129421c8a282aecaa47f61ba1c0 /src/mman/msync.c
parent2d67ae923d11d766d9a6cea714fa487b52579f6a (diff)
downloadmusl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.gz
musl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.xz
musl-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.zip
make fsync, fdatasync, and msync cancellation points
these are mandatory cancellation points per POSIX, so their omission
was a conformance bug.
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 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);
 }