aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/fdatasync.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/unistd/fdatasync.c
parentmove MREMAP_MAYMOVE and MREMAP_FIXED out of bits (diff)
downloadgrovel-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.gz
grovel-0b21a07c783d18051d86b1d6ddc04a8ea716a12f.tar.xz
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/unistd/fdatasync.c')
-rw-r--r--src/unistd/fdatasync.c2
1 files changed, 1 insertions, 1 deletions
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);
}