diff options
Diffstat (limited to 'drivers/net/ethernet/3com/3c509.c')
-rw-r--r-- | drivers/net/ethernet/3com/3c509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c index 633c709b9d99..f36ff99fd394 100644 --- a/drivers/net/ethernet/3com/3c509.c +++ b/drivers/net/ethernet/3com/3c509.c | |||
@@ -1161,8 +1161,8 @@ el3_netdev_set_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd) | |||
1161 | 1161 | ||
1162 | static void el3_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | 1162 | static void el3_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) |
1163 | { | 1163 | { |
1164 | strcpy(info->driver, DRV_NAME); | 1164 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); |
1165 | strcpy(info->version, DRV_VERSION); | 1165 | strlcpy(info->version, DRV_VERSION, sizeof(info->version)); |
1166 | } | 1166 | } |
1167 | 1167 | ||
1168 | static int el3_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) | 1168 | static int el3_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd) |