commit | 3b668a77bad7f03c3df28971760a3883a395ce55 | [log] [tgz] |
---|---|---|
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | Wed Mar 02 01:11:26 2011 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu Mar 03 02:48:32 2011 -0800 |
tree | 2400e7e17486fcb2c3a200b63a393ca7183e4149 | |
parent | 93ed835928f3100c95e0408df0543f35d03f7c23 [diff] |
igb: Fix strncpy calls to be safe per source code review tools This fix changes the remaining calls to strncpy that have not yet been changed to use the "sizeof(buf) - 1" syntax rather than just a number for buffer size. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>