commit | 49e31cbac5be2202f351626fd4fb33ad4d4819b8 | [log] [tgz] |
---|---|---|
author | Max Kellermann <max@duempel.org> | Tue Sep 06 15:18:03 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 07 16:57:39 2005 -0700 |
tree | a2d33495131b874e1cc4895ba21723e863ca63b4 | |
parent | 7ea6040b0eff07d3a9a4e2d248ac137c6ad02d42 [diff] |
[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>