i40evf: fix scan warning on sprintf
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 1 Aug 2014 20:27:08 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2014 02:41:14 +0000 (19:41 -0700)
commitb39c1e2c581fac29a63e322667cbd39a8661ca2a
tree915fcd816352c4e8275a2210f49135c09a88cf9a
parent738abbac9b8bf11a7cc3955b691cca8d7589127a
i40evf: fix scan warning on sprintf

The driver was converted to use snprintf everywhere but this one function.
Just use snprintf, instead of sprintf.

Also a small spelling correction in a comment.

Change-ID: I59d45f94a52754c7b4cd6034df9a61d8132b7f77
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c