]> Pileus Git - ~andy/linux/commitdiff
netlink: change presentation of portid in procfs to unsigned
authorHannes Frederic Sowa <hannes@stressinduktion.org>
Sat, 15 Dec 2012 15:09:19 +0000 (15:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2012 04:50:51 +0000 (20:50 -0800)
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c

index c8a1eb6eca2dea3597ba9c96a01b84656bad5700..9ee52b6a12dd28d6f9a2dc24d9ad277101361c2a 100644 (file)
@@ -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,