diff options
author | Francesco Fusco <ffusco@redhat.com> | 2013-08-15 07:42:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-15 17:37:46 -0400 |
commit | d14c5ab6bef6a46170b84c3589b27768e979f93d (patch) | |
tree | 5bcf83fa3477c67ffa6f9486c1adade354ba8a22 /net/ipv6/tcp_ipv6.c | |
parent | 40a82917b1d3a8aecedee6b64949795b75359731 (diff) |
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/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 38c196ca6011..5bcfadf09e95 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1731,7 +1731,7 @@ static void get_openreq6(struct seq_file *seq, | |||
1731 | 1731 | ||
1732 | seq_printf(seq, | 1732 | seq_printf(seq, |
1733 | "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " | 1733 | "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " |
1734 | "%02X %08X:%08X %02X:%08lX %08X %5d %8d %d %d %pK\n", | 1734 | "%02X %08X:%08X %02X:%08lX %08X %5u %8d %d %d %pK\n", |
1735 | i, | 1735 | i, |
1736 | src->s6_addr32[0], src->s6_addr32[1], | 1736 | src->s6_addr32[0], src->s6_addr32[1], |
1737 | src->s6_addr32[2], src->s6_addr32[3], | 1737 | src->s6_addr32[2], src->s6_addr32[3], |
@@ -1782,7 +1782,7 @@ static void get_tcp6_sock(struct seq_file *seq, struct sock *sp, int i) | |||
1782 | 1782 | ||
1783 | seq_printf(seq, | 1783 | seq_printf(seq, |
1784 | "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " | 1784 | "%4d: %08X%08X%08X%08X:%04X %08X%08X%08X%08X:%04X " |
1785 | "%02X %08X:%08X %02X:%08lX %08X %5d %8d %lu %d %pK %lu %lu %u %u %d\n", | 1785 | "%02X %08X:%08X %02X:%08lX %08X %5u %8d %lu %d %pK %lu %lu %u %u %d\n", |
1786 | i, | 1786 | i, |
1787 | src->s6_addr32[0], src->s6_addr32[1], | 1787 | src->s6_addr32[0], src->s6_addr32[1], |
1788 | src->s6_addr32[2], src->s6_addr32[3], srcp, | 1788 | src->s6_addr32[2], src->s6_addr32[3], srcp, |