diff options
author | Francesco Fusco <ffusco@redhat.com> | 2013-08-15 13:42:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-15 14:37:46 -0700 |
commit | d14c5ab6bef6a46170b84c3589b27768e979f93d (patch) | |
tree | 5bcf83fa3477c67ffa6f9486c1adade354ba8a22 /net/ipv4/ping.c | |
parent | 40a82917b1d3a8aecedee6b64949795b75359731 (diff) |
net: proc_fs: trivial: print UIDs as unsigned int
UIDs are printed in the proc_fs as signed int, whereas
they are unsigned int.
Signed-off-by: Francesco Fusco <ffusco@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ping.c')
-rw-r--r-- | net/ipv4/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 746427c9e71..d7d9882d4ca 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c @@ -1082,7 +1082,7 @@ static void ping_v4_format_sock(struct sock *sp, struct seq_file *f, __u16 srcp = ntohs(inet->inet_sport); seq_printf(f, "%5d: %08X:%04X %08X:%04X" - " %02X %08X:%08X %02X:%08lX %08X %5d %8d %lu %d %pK %d%n", + " %02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %d%n", bucket, src, srcp, dest, destp, sp->sk_state, sk_wmem_alloc_get(sp), sk_rmem_alloc_get(sp), |