diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-19 22:24:15 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-19 22:24:15 -0400 |
commit | ee1f69a3606987a973ccd0b378d26d0fb077364a (patch) | |
tree | 38a2cf56439cc88e9db744a6597a48644e16d313 /src/unistd/fsync.c | |
parent | ca1773d8645672f6e67b10bc94aa5639b01a1ebe (diff) | |
download | musl-ee1f69a3606987a973ccd0b378d26d0fb077364a.tar.gz musl-ee1f69a3606987a973ccd0b378d26d0fb077364a.tar.bz2 musl-ee1f69a3606987a973ccd0b378d26d0fb077364a.tar.xz musl-ee1f69a3606987a973ccd0b378d26d0fb077364a.zip |
fix dummied-out fsync
if we eventually have build options, it might be nice to make an
option to dummy this out again, in case anybody needs a system-wide
disable for disk/ssd-thrashing, etc. that some daemons do when
logging...
Diffstat (limited to 'src/unistd/fsync.c')
-rw-r--r-- | src/unistd/fsync.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c index 5991c66b..dc4727cc 100644 --- a/src/unistd/fsync.c +++ b/src/unistd/fsync.c @@ -3,6 +3,5 @@ int fsync(int fd) { - //return syscall(SYS_fsync, fd); - return 0; + return syscall(SYS_fsync, fd); } |