X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=toys%2Fother%2Ffsync.c;fp=toys%2Fother%2Ffsync.c;h=bd73f398807cb560c1be3737e3dba1ab1f495b22;hb=eed9ed41aa73023af8f79cd5353b96b80585490f;hp=e6f6c8d91c049fe6484a29432d1b38a806e50360;hpb=7f7907f53ecaeabb00929feb0ede85a456683ddc;p=android-x86%2Fexternal-toybox.git 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); }