mallocng/aligned_alloc: check for malloc failure
[musl] / src / unistd / fdatasync.c
index ef7c9a9..3895ae5 100644 (file)
@@ -3,5 +3,5 @@
 
 int fdatasync(int fd)
 {
-       return 0;
+       return syscall_cp(SYS_fdatasync, fd);
 }