mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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>
This commit is contained in:
parent
d32649d171
commit
9f1e0ad0ad
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user