fix dummied-out fdatasync
authorRich Felker <dalias@aerifal.cx>
Wed, 20 Jun 2012 02:22:16 +0000 (22:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 20 Jun 2012 02:22:16 +0000 (22:22 -0400)
src/unistd/fdatasync.c

index ef7c9a9de2e5d020480f3d135949e4975b743bb5..dd4d41c75c7e77d54b7b374b6c3b4439065f8653 100644 (file)
@@ -3,5 +3,5 @@
 
 int fdatasync(int fd)
 {
-       return 0;
+       return syscall(SYS_fdatasync, fd);
 }