remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / fsync.c
index 5991c66b3172b78790b35adb48980d5697133b0e..7a1c80b5de0d801d853163fed58f4372b4771f43 100644 (file)
@@ -3,6 +3,5 @@
 
 int fsync(int fd)
 {
-       //return syscall(SYS_fsync, fd);
-       return 0;
+       return syscall_cp(SYS_fsync, fd);
 }