Browse Source

fix FFSYNC by changing it to O_SYNC

O_FSYNC was never defined and is legacy/wrong, nothing seems to use it.
Duncan Overbruck 8 years ago
parent
commit
c1f4ed1501
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/fcntl.h

+ 1 - 1
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