diff toys/tee.c @ 395:32c7b6af5b29

Whitespace/wordwrap changes.
author Rob Landley <rob@landley.net>
date Sun, 11 Dec 2011 03:54:58 -0600
parents 52600eee8dd6
children
line wrap: on
line diff
--- a/toys/tee.c	Sun Dec 11 02:36:01 2011 -0600
+++ b/toys/tee.c	Sun Dec 11 03:54:58 2011 -0600
@@ -52,7 +52,8 @@
 
     // 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;