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:
parent
d394511de3
commit
f81e3ffe10
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user