Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315444
b: refs/heads/master
c: a4ed2d4
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Jul 17, 2012
1 parent 5fd819f commit 1a1bf71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7cbb163d980fc79f47a3cba63dd130b1d655d1d
refs/heads/master: a4ed2d4cd96dd71b0f2e04a88f83abcab6ddd023
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/sfc/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ static void efx_ethtool_get_strings(struct net_device *net_dev,
switch (string_set) {
case ETH_SS_STATS:
for (i = 0; i < EFX_ETHTOOL_NUM_STATS; i++)
strncpy(ethtool_strings[i].name,
strlcpy(ethtool_strings[i].name,
efx_ethtool_stats[i].name,
sizeof(ethtool_strings[i].name));
break;
Expand Down

0 comments on commit 1a1bf71

Please sign in to comment.