aboutsummaryrefslogtreecommitdiff
path: root/toys/tee.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2011-12-11 03:54:58 -0600
committerRob Landley <rob@landley.net>2011-12-11 03:54:58 -0600
commit86357ca6f71ad1392212d2ac4eb2e83624955790 (patch)
tree80789243d3b57cd936e04c3b5738c436ec845d14 /toys/tee.c
parent82895f6cf412a958d71ed1a0eefcebd435e06f31 (diff)
downloadtoybox-86357ca6f71ad1392212d2ac4eb2e83624955790.tar.gz
Whitespace/wordwrap changes.
Diffstat (limited to 'toys/tee.c')
-rw-r--r--toys/tee.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/tee.c b/toys/tee.c
index 8c8f3d5c..c11fb5c4 100644
--- a/toys/tee.c
+++ b/toys/tee.c
@@ -52,7 +52,8 @@ void tee_main(void)
// Open output files
loopfiles_rw(toys.optargs,
- O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), do_tee_open);
+ O_RDWR|O_CREAT|((toys.optflags&1)?O_APPEND:O_TRUNC), 0666, 0,
+ do_tee_open);
for (;;) {
struct fd_list *fdl;