diff options
Diffstat (limited to 'coreutils/fsync.c')
-rw-r--r-- | coreutils/fsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/fsync.c b/coreutils/fsync.c index d1fe2b584..b8b463cd1 100644 --- a/coreutils/fsync.c +++ b/coreutils/fsync.c | |||
@@ -27,7 +27,7 @@ int fsync_main(int argc UNUSED_PARAM, char **argv) | |||
27 | 27 | ||
28 | status = EXIT_SUCCESS; | 28 | status = EXIT_SUCCESS; |
29 | do { | 29 | do { |
30 | int fd = open3_or_warn(*argv, O_NOATIME | O_NOCTTY | O_RDONLY, 0); | 30 | int fd = open_or_warn(*argv, O_NOATIME | O_NOCTTY | O_RDONLY); |
31 | 31 | ||
32 | if (fd == -1) { | 32 | if (fd == -1) { |
33 | status = EXIT_FAILURE; | 33 | status = EXIT_FAILURE; |