Use %lu instead of %ld when printing rt_use (aka rt_rmx.rmx_pksent)
Submitted by: Andre Oppermann <oppermann@pipeline.ch> MFC after: 5 days
This commit is contained in:
parent
54e84abb59
commit
acc52a9a8e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user