[PATCH] bonding: Format fix in seq_printf call
authorKenzo Iwami <k-iwami@cj.jp.nec.com>
Sat, 23 Sep 2006 04:53:08 +0000 (21:53 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 00:08:08 +0000 (20:08 -0400)
commit65509645ae05886eccc81b8a453afea07f0eabb6
treed023f27b6f85d6d9203ba303bb1256c0ac8c03c0
parent8bb5f96b0c1f430e6be56edd6c7032bcedd86ff0
[PATCH] bonding: Format fix in seq_printf call

Though link_failure_count is type unsigned int, this value is outputted to
/proc/net/bonding/bondX file using "%d" instead of "%u".

The attached patch fixes this problem.

Signed-off-by: Kenzo Iwami <k-iwami@cj.jp.nec.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c