mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-15 01:34:10 +03:00
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...
This commit is contained in:
parent
ca1773d864
commit
ee1f69a360
@ -3,6 +3,5 @@
|
||||
|
||||
int fsync(int fd)
|
||||
{
|
||||
//return syscall(SYS_fsync, fd);
|
||||
return 0;
|
||||
return syscall(SYS_fsync, fd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user