summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-16 21:58:57 +0000
committerpeter <peter@FreeBSD.org>2002-05-16 21:58:57 +0000
commit7fc284ffb7ecd7b33319d143d18f00cb2e676a4b (patch)
treea5302e97086b696391dcb0bbf0a3b7588bab57ff /usr.bin/truss
parent28d42899b766c395e5a6476f5bfa88b1481a08c0 (diff)
downloadFreeBSD-src-7fc284ffb7ecd7b33319d143d18f00cb2e676a4b.zip
FreeBSD-src-7fc284ffb7ecd7b33319d143d18f00cb2e676a4b.tar.gz
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. Submitted by: Arne Dag Fidjestøl <adf@idi.ntnu.no>
Diffstat (limited to 'usr.bin/truss')
-rw-r--r--usr.bin/truss/main.c2
1 files changed, 1 insertions, 1 deletions
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 */
OpenPOWER on IntegriCloud