[PATCH] sunrpc: print unsigned integers in stats
authorMax Kellermann <max@duempel.org>
Tue, 6 Sep 2005 22:18:03 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:39 +0000 (16:57 -0700)
commit49e31cbac5be2202f351626fd4fb33ad4d4819b8
treea2d33495131b874e1cc4895ba21723e863ca63b4
parent7ea6040b0eff07d3a9a4e2d248ac137c6ad02d42
[PATCH] sunrpc: print unsigned integers in stats

The sunrpc stats are collected in unsigned integers, but they are printed
with '%d'.  That can result in negative numbers in /proc/net/rpc when the
highest bit of a counter is set.  The following patch changes '%d' to '%u'
where appropriate.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/stats.c