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>
This commit is contained in:
Peter Wemm 2002-05-16 21:58:57 +00:00
parent d394511de3
commit f81e3ffe10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96756

View File

@ -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 */