From f81e3ffe10b218e1ac63e0b85cd283ff8a6db901 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 16 May 2002 21:58:57 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/truss/main.c b/usr.bin/truss/main.c index c04db3a57658..763c5dfbcae8 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 */