]> Git Repo - linux.git/commit - net/sunrpc/stats.c
[PATCH] sunrpc: print unsigned integers in stats
authorMax Kellermann <[email protected]>
Tue, 6 Sep 2005 22:18:03 +0000 (15:18 -0700)
committerLinus Torvalds <[email protected]>
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" <[email protected]>
Cc: Trond Myklebust <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
net/sunrpc/stats.c
This page took 0.043952 seconds and 4 git commands to generate.