diff options
-rw-r--r-- | src/libmach/cmdline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmach/cmdline.c b/src/libmach/cmdline.c index 568bc017..36d0fb93 100644 --- a/src/libmach/cmdline.c +++ b/src/libmach/cmdline.c @@ -86,7 +86,8 @@ attachargs(int argc, char **argv, int omode, int verbose) symfil = "a.out"; /* default */ if(corpid){ /* try from corpid */ if((s = proctextfile(corpid)) != nil){ - fprint(2, "corpid %d: text %s\n", corpid, s); + if(verbose) + fprint(2, "corpid %d: text %s\n", corpid, s); symfil = s; } } |