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>
This commit is contained in:

committed by
David S. Miller

parent
40a82917b1
commit
d14c5ab6be
@@ -793,7 +793,7 @@ static int pn_res_seq_show(struct seq_file *seq, void *v)
|
||||
struct sock **psk = v;
|
||||
struct sock *sk = *psk;
|
||||
|
||||
seq_printf(seq, "%02X %5d %lu%n",
|
||||
seq_printf(seq, "%02X %5u %lu%n",
|
||||
(int) (psk - pnres.sk),
|
||||
from_kuid_munged(seq_user_ns(seq), sock_i_uid(sk)),
|
||||
sock_i_ino(sk), &len);
|
||||
|
Reference in New Issue
Block a user