streamline old-kernel fallback path of pipe2 to use syscalls directly
[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);
 }