diff options
-rw-r--r-- | usr.bin/tee/tee.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/tee/tee.c b/usr.bin/tee/tee.c index f534e7e..64076ad 100644 --- a/usr.bin/tee/tee.c +++ b/usr.bin/tee/tee.c @@ -29,19 +29,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1988, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)tee.c 8.1 (Berkeley) 6/6/93"; -#endif -__RCSID("$NetBSD: tee.c,v 1.12 2016/09/05 00:40:30 sevan Exp $"); -#endif - #include <sys/types.h> #include <sys/stat.h> #include <signal.h> @@ -99,7 +86,7 @@ main(int argc, char *argv[]) for (exitval = 0; *argv; ++argv) if ((fd = open(*argv, append ? O_WRONLY|O_CREAT|O_APPEND : - O_WRONLY|O_CREAT|O_TRUNC, DEFFILEMODE)) < 0) { + O_WRONLY|O_CREAT|O_TRUNC, 0)) < 0) { warn("%s", *argv); exitval = 1; } else |