summaryrefslogtreecommitdiff
path: root/coreutils/fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/fsync.c')
-rw-r--r--coreutils/fsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/fsync.c b/coreutils/fsync.c
index d1fe2b5..b8b463c 100644
--- a/coreutils/fsync.c
+++ b/coreutils/fsync.c
@@ -27,7 +27,7 @@ int fsync_main(int argc UNUSED_PARAM, char **argv)
status = EXIT_SUCCESS;
do {
- int fd = open3_or_warn(*argv, O_NOATIME | O_NOCTTY | O_RDONLY, 0);
+ int fd = open_or_warn(*argv, O_NOATIME | O_NOCTTY | O_RDONLY);
if (fd == -1) {
status = EXIT_FAILURE;