diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 878223838e90..68fbdcefa1be 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -596,7 +596,7 @@ p_rtentry(struct rtentry *rt) WID_GW(addr.u_sa.sa_family)); p_flags(rt->rt_flags, "%-6.6s "); if (addr.u_sa.sa_family == AF_INET || Wflag) { - printf("%6ld %8ld ", rt->rt_refcnt, rt->rt_use); + printf("%6ld %8lu ", rt->rt_refcnt, rt->rt_use); if (Wflag) { if (rt->rt_rmx.rmx_mtu != 0) printf("%6lu ", rt->rt_rmx.rmx_mtu);