summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/if.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-10-23 17:45:11 +0000
committerdillon <dillon@FreeBSD.org>1999-10-23 17:45:11 +0000
commit405fc1165a74f692670f70b4749507b6a98f08ec (patch)
tree2d6552bb27e372ecdc48de66b90687e26045baa9 /usr.bin/netstat/if.c
parentb6ebb73004de327dc34a9cb5b12dd55f933a8e20 (diff)
downloadFreeBSD-src-405fc1165a74f692670f70b4749507b6a98f08ec.zip
FreeBSD-src-405fc1165a74f692670f70b4749507b6a98f08ec.tar.gz
Cleanup missing includes, stale includes, and a few printf format
inconsistancies.
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r--usr.bin/netstat/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 32a8eaa..e1592ba 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -98,7 +98,7 @@ bdg_stats(u_long dummy, char *name) /* print bridge statistics */
"Name In Out Forward Drop Bcast Mcast Local Unknown\n");
for (i = 0 ; i < 16 ; i++) {
if (s.s[i].name[0])
- printf("%-6s %9d%9d%9d%9d%9d%9d%9d%9d\n",
+ printf("%-6s %9ld%9ld%9ld%9ld%9ld%9ld%9ld%9ld\n",
s.s[i].name,
s.s[i].p_in[(int)BDG_IN],
s.s[i].p_in[(int)BDG_OUT],
OpenPOWER on IntegriCloud