diff options
-rw-r--r-- | toys/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,6 +87,6 @@ out: void cmp_main(void) { - loopfiles(toys.optargs, do_cmp); + loopfiles_rw(toys.optargs, O_RDONLY, 0, toys.optflags&FLAG_s, do_cmp); } |
index : forks/toybox | ||
Toybox with POSIX patches from E5ten |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | toys/cmp.c | 2 |
@@ -87,6 +87,6 @@ out: void cmp_main(void) { - loopfiles(toys.optargs, do_cmp); + loopfiles_rw(toys.optargs, O_RDONLY, 0, toys.optflags&FLAG_s, do_cmp); } |