on x86_64 use long instead of long long for 64bit posix types
[musl] / src / unistd / fdatasync.c
index ef7c9a9..dd4d41c 100644 (file)
@@ -3,5 +3,5 @@
 
 int fdatasync(int fd)
 {
-       return 0;
+       return syscall(SYS_fdatasync, fd);
 }