diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-06-12 14:00:39 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-06-12 14:00:39 +0000 |
commit | d57e0246d1978f39848e9fe70e271080e33e2a56 (patch) | |
tree | 4484ed6604a71be3076590370f307a7c65c90b02 /usr.bin/netstat/atalk.c | |
parent | 1c59bf7de3824a44200ed51eba18819912f51b80 (diff) | |
download | src-d57e0246d1978f39848e9fe70e271080e33e2a56.tar.gz src-d57e0246d1978f39848e9fe70e271080e33e2a56.zip |
Fixed printing of netatalk statistics WRT the -s flag.
PR: bin/6994
Submitted by: Zahemszky Gabor <zgabor@zg.CoDe.hu>
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=78141
Diffstat (limited to 'usr.bin/netstat/atalk.c')
-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 b8071a186da9..e08d4a9a914e 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. |