mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
40a82917b1
commit
d14c5ab6be
11 changed files with 14 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue