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