X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Ffsync.c;h=7a1c80b5de0d801d853163fed58f4372b4771f43;hb=5ef60206ff9e697d3011bcf48afca50c9fe85e1b;hp=7cfedc98d6517f2f269b711f76f6947d7cba82c7;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c index 7cfedc98..7a1c80b5 100644 --- a/src/unistd/fsync.c +++ b/src/unistd/fsync.c @@ -3,6 +3,5 @@ int fsync(int fd) { - //return syscall1(__NR_fsync, fd); - return 0; + return syscall_cp(SYS_fsync, fd); }