fix FFSYNC by changing it to O_SYNC

O_FSYNC was never defined and is legacy/wrong, nothing seems to use it.
This commit is contained in:
Duncan Overbruck 2016-08-18 17:06:16 +02:00 committed by Rich Felker
parent fff880185b
commit c1f4ed1501
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ int posix_fallocate(int, off_t, off_t);
#define AT_EMPTY_PATH 0x1000 #define AT_EMPTY_PATH 0x1000
#define FAPPEND O_APPEND #define FAPPEND O_APPEND
#define FFSYNC O_FSYNC #define FFSYNC O_SYNC
#define FASYNC O_ASYNC #define FASYNC O_ASYNC
#define FNONBLOCK O_NONBLOCK #define FNONBLOCK O_NONBLOCK
#define FNDELAY O_NDELAY #define FNDELAY O_NDELAY