X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Funistd%2Ffsync.c;h=dc4727cc1d17cfccbc8793d6f140839462ca24dd;hb=743546a9339d3da4304fd63f74872e90ac792f63;hp=7cfedc98d6517f2f269b711f76f6947d7cba82c7;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c index 7cfedc98..dc4727cc 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(SYS_fsync, fd); }