diff options
author | ru <ru@FreeBSD.org> | 2001-06-12 14:00:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-12 14:00:39 +0000 |
commit | 6d6ba0ea8e97ed7cd73c3cf2fb25607d77fe20ea (patch) | |
tree | 4484ed6604a71be3076590370f307a7c65c90b02 /usr.bin | |
parent | 1947791f919aee85ba70ae619e1acb01b4785442 (diff) | |
download | FreeBSD-src-6d6ba0ea8e97ed7cd73c3cf2fb25607d77fe20ea.zip FreeBSD-src-6d6ba0ea8e97ed7cd73c3cf2fb25607d77fe20ea.tar.gz |
Fixed printing of netatalk statistics WRT the -s flag.
PR: bin/6994
Submitted by: Zahemszky Gabor <zgabor@zg.CoDe.hu>
MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/atalk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/atalk.c b/usr.bin/netstat/atalk.c index b8071a1..e08d4a9 100644 --- a/usr.bin/netstat/atalk.c +++ b/usr.bin/netstat/atalk.c @@ -244,8 +244,8 @@ atalkprotopr(off, name) } } -#define ANY(x,y,z) \ - ((x) ? printf("\t%lu %s%s%s\n",x,y,plural(x),z) : 0) +#define ANY(x,y,z) if (x || sflag <= 1) \ + printf("\t%lu %s%s%s\n",x,y,plural(x),z) /* * Dump DDP statistics structure. |