From 0b21a07c783d18051d86b1d6ddc04a8ea716a12f Mon Sep 17 00:00:00 2001 From: Trutz Behn Date: Wed, 28 Jan 2015 18:46:54 +0100 Subject: make fsync, fdatasync, and msync cancellation points these are mandatory cancellation points per POSIX, so their omission was a conformance bug. --- src/unistd/fdatasync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/fdatasync.c') 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); } -- cgit v1.2.1