mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96756
@ -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…
Reference in New Issue
Block a user