[PATCH] print unsigned integers in sunrpc stats

2005-08-30 Thread Max Kellermann
Hi, 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. Max --- linux-2.6.13/net/sunrpc/stats.c.orig

[PATCH] print unsigned integers in sunrpc stats

2005-08-30 Thread Max Kellermann
Hi, 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. Max --- linux-2.6.13/net/sunrpc/stats.c.orig