diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 841de1cf01..ab2c3fd01d 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5135,7 +5135,7 @@ vim_fsync(int fd) # ifdef MACOS_X r = fcntl(fd, F_FULLFSYNC); - if (r != 0 && errno == ENOTTY) + if (r != 0 && (errno == ENOTTY || errno == ENOTSUP)) # endif r = fsync(fd); return r; |