Commit 9f1e0ad0 authored by Hannes Frederic Sowa's avatar Hannes Frederic Sowa Committed by David S. Miller

netlink: change presentation of portid in procfs to unsigned

Signed-off-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d32649d1
...@@ -2059,7 +2059,7 @@ static int netlink_seq_show(struct seq_file *seq, void *v) ...@@ -2059,7 +2059,7 @@ static int netlink_seq_show(struct seq_file *seq, void *v)
struct sock *s = v; struct sock *s = v;
struct netlink_sock *nlk = nlk_sk(s); 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,
s->sk_protocol, s->sk_protocol,
nlk->portid, nlk->portid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment