diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2012-12-15 16:09:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-18 05:50:51 +0100 |
commit | 9f1e0ad0ad3e19fce3df864502e9f419204397d7 (patch) | |
tree | 00dc26475280c0443889067be591333d20a2423e /net/netlink/af_netlink.c | |
parent | tuntap: fix sparse warning (diff) | |
download | linux-9f1e0ad0ad3e19fce3df864502e9f419204397d7.tar.xz linux-9f1e0ad0ad3e19fce3df864502e9f419204397d7.zip |
netlink: change presentation of portid in procfs to unsigned
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/af_netlink.c')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index c8a1eb6eca2d..9ee52b6a12dd 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -2059,7 +2059,7 @@ static int netlink_seq_show(struct seq_file *seq, void *v) struct sock *s = v; struct netlink_sock *nlk = nlk_sk(s); - seq_printf(seq, "%pK %-3d %-6d %08x %-8d %-8d %pK %-8d %-8d %-8lu\n", + seq_printf(seq, "%pK %-3d %-6u %08x %-8d %-8d %pK %-8d %-8d %-8lu\n", s, s->sk_protocol, nlk->portid, |