diff options
author | Rob Landley <rob@landley.net> | 2016-09-05 00:55:24 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-09-05 00:55:24 -0500 |
commit | eed9ed41aa73023af8f79cd5353b96b80585490f (patch) | |
tree | 9b1a36022b0748b06224c48239d0c0e2ebbefddc /toys/other/fsync.c | |
parent | 7f7907f53ecaeabb00929feb0ede85a456683ddc (diff) | |
download | toybox-eed9ed41aa73023af8f79cd5353b96b80585490f.tar.gz |
Replace loopfiles' failok with WARN_ONLY open flag.
Diffstat (limited to 'toys/other/fsync.c')
-rw-r--r-- | toys/other/fsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/fsync.c b/toys/other/fsync.c index e6f6c8d9..bd73f398 100644 --- a/toys/other/fsync.c +++ b/toys/other/fsync.c @@ -28,6 +28,6 @@ static void do_fsync(int fd, char *name) void fsync_main(void) { - loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC, - 0, 0, do_fsync); + loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY, + 0, do_fsync); } |