summaryrefslogtreecommitdiffstats
path: root/net/appletalk
diff options
context:
space:
mode:
authorFrancesco Fusco <ffusco@redhat.com>2013-08-15 13:42:14 +0200
committerDavid S. Miller <davem@davemloft.net>2013-08-15 14:37:46 -0700
commitd14c5ab6bef6a46170b84c3589b27768e979f93d (patch)
tree5bcf83fa3477c67ffa6f9486c1adade354ba8a22 /net/appletalk
parent40a82917b1d3a8aecedee6b64949795b75359731 (diff)
downloadlinux-d14c5ab6bef6a46170b84c3589b27768e979f93d.tar.gz
linux-d14c5ab6bef6a46170b84c3589b27768e979f93d.tar.bz2
linux-d14c5ab6bef6a46170b84c3589b27768e979f93d.zip
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>
Diffstat (limited to 'net/appletalk')
-rw-r--r--net/appletalk/atalk_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c
index c30f3a0717fb..af46bc49e1e9 100644
--- a/net/appletalk/atalk_proc.c
+++ b/net/appletalk/atalk_proc.c
@@ -178,7 +178,7 @@ static int atalk_seq_socket_show(struct seq_file *seq, void *v)
at = at_sk(s);
seq_printf(seq, "%02X %04X:%02X:%02X %04X:%02X:%02X %08X:%08X "
- "%02X %d\n",
+ "%02X %u\n",
s->sk_type, ntohs(at->src_net), at->src_node, at->src_port,
ntohs(at->dest_net), at->dest_node, at->dest_port,
sk_wmem_alloc_get(s),