diff options
author | Duncan Overbruck <duncaen@voidlinux.eu> | 2016-08-18 17:06:16 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-08-30 16:01:47 -0400 |
commit | c1f4ed150137d793c9d07356305a89e8785e7e02 (patch) | |
tree | 23130776494e890cf0a8aaf23bf00c2833bfe77b /include | |
parent | fff880185bb3624acfbd2c6a75a1655bcd782c51 (diff) | |
download | musl-c1f4ed150137d793c9d07356305a89e8785e7e02.tar.gz musl-c1f4ed150137d793c9d07356305a89e8785e7e02.tar.bz2 musl-c1f4ed150137d793c9d07356305a89e8785e7e02.tar.xz musl-c1f4ed150137d793c9d07356305a89e8785e7e02.zip |
fix FFSYNC by changing it to O_SYNC
O_FSYNC was never defined and is legacy/wrong, nothing seems to use it.
Diffstat (limited to 'include')
-rw-r--r-- | include/fcntl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index e683e4dc..0e165ca3 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -99,7 +99,7 @@ int posix_fallocate(int, off_t, off_t); #define AT_EMPTY_PATH 0x1000 #define FAPPEND O_APPEND -#define FFSYNC O_FSYNC +#define FFSYNC O_SYNC #define FASYNC O_ASYNC #define FNONBLOCK O_NONBLOCK #define FNDELAY O_NDELAY |