Re: [PATCH] ethtool: fix long statistics name

2007-02-09 Thread Jeff Garzik
Stephen Hemminger wrote: Fix handling of statistics where the label is exactly 32 (ETH_GSTRING_LEN) characters long (observed with chelsio 10G driver). Before it would print garbage because of going by end of string. Don't need to copy string, just use formats properly. Signed-off-by: Stephen

[PATCH] ethtool: fix long statistics name

2007-01-11 Thread Stephen Hemminger
Fix handling of statistics where the label is exactly 32 (ETH_GSTRING_LEN) characters long (observed with chelsio 10G driver). Before it would print garbage because of going by end of string. Don't need to copy string, just use formats properly. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]