From 7fc284ffb7ecd7b33319d143d18f00cb2e676a4b Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 16 May 2002 21:58:57 +0000 Subject: OOPS! rev 1.16 accidently changed the default outfile from stderr to stdout. Unfortunately, DES mfc'ed this change in 1.15.2.1 (this part probably should not have been) so it is broken there too. truss is documented to use stderr, and other implementations use stderr. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Arne Dag Fidjestøl --- usr.bin/truss/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/truss/main.c') diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index c04db3a..763c5df 100644 --- a/usr.bin/truss/main.c +++ b/usr.bin/truss/main.c @@ -139,7 +139,7 @@ main(int ac, char **av) { char *fname = NULL; int sigexit = 0; - outfile = stdout; + outfile = stderr; while ((c = getopt(ac, av, "p:o:S")) != -1) { switch (c) { case 'p': /* specified pid */ -- cgit v1.1