OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace loopfiles' failok with WARN_ONLY open flag.
[android-x86/external-toybox.git]
/
toys
/
other
/
fsync.c
diff --git
a/toys/other/fsync.c
b/toys/other/fsync.c
index
e6f6c8d
..
bd73f39
100644
(file)
--- 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);
}