diff options
| author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2011-03-02 04:11:26 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-03 13:48:32 +0300 |
| commit | 3b668a77bad7f03c3df28971760a3883a395ce55 (patch) | |
| tree | 2400e7e17486fcb2c3a200b63a393ca7183e4149 /tools/perf/scripts/python | |
| parent | 93ed835928f3100c95e0408df0543f35d03f7c23 (diff) | |
| download | linux-3b668a77bad7f03c3df28971760a3883a395ce55.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
