aboutsummaryrefslogtreecommitdiff
path: root/src/unistd
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-06-19 22:22:16 -0400
committerRich Felker <dalias@aerifal.cx>2012-06-19 22:22:16 -0400
commitca1773d8645672f6e67b10bc94aa5639b01a1ebe (patch)
tree376e944b3907acc3c4828f27bc3e6c381009b45f /src/unistd
parent914949d321448bd2189bdcbce794dbae2c8ed16e (diff)
downloadmusl-ca1773d8645672f6e67b10bc94aa5639b01a1ebe.zip
musl-ca1773d8645672f6e67b10bc94aa5639b01a1ebe.tar.gz
musl-ca1773d8645672f6e67b10bc94aa5639b01a1ebe.tar.bz2
fix dummied-out fdatasync
Diffstat (limited to 'src/unistd')
-rw-r--r--src/unistd/fdatasync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/fdatasync.c b/src/unistd/fdatasync.c
index ef7c9a9..dd4d41c 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);
}