summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2009-03-19 10:23:26 +0000
committerbms <bms@FreeBSD.org>2009-03-19 10:23:26 +0000
commit363d0f86330f4538f3809062e530487a08812859 (patch)
treee8678d2578d6d1ed279395f618b8aed0cfc225f3 /usr.bin/netstat
parentd310eb36e24eb1f3b0f9dafa1737acc0730a68fb (diff)
downloadFreeBSD-src-363d0f86330f4538f3809062e530487a08812859.zip
FreeBSD-src-363d0f86330f4538f3809062e530487a08812859.tar.gz
Fix size_t merge-o.
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c
index 8009c30..6ea4b58 100644
--- a/usr.bin/netstat/mroute.c
+++ b/usr.bin/netstat/mroute.c
@@ -293,7 +293,7 @@ mroutepr(u_long pmfchashtbl, u_long pmfctablesize, u_long pviftbl)
len -= sizeof(*m);
}
if (len != 0)
- warnx("print_mfc: %d trailing bytes", len);
+ warnx("print_mfc: %lu trailing bytes", (u_long)len);
free(mfctable);
} else {
OpenPOWER on IntegriCloud