From: Rich Felker Date: Wed, 20 Jun 2012 02:22:16 +0000 (-0400) Subject: fix dummied-out fdatasync X-Git-Tag: v0.9.2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca1773d8645672f6e67b10bc94aa5639b01a1ebe;p=musl fix dummied-out fdatasync --- diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c index ef7c9a9d..dd4d41c7 100644 --- a/src/unistd/fdatasync.c +++ b/src/unistd/fdatasync.c @@ -3,5 +3,5 @@ int fdatasync(int fd) { - return 0; + return syscall(SYS_fdatasync, fd); }