diff options
Diffstat (limited to 'drivers/net/ethernet/fealnx.c')
-rw-r--r-- | drivers/net/ethernet/fealnx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c index 61d2bddec1fa..c82d444b582d 100644 --- a/drivers/net/ethernet/fealnx.c +++ b/drivers/net/ethernet/fealnx.c | |||
@@ -1818,9 +1818,9 @@ static void netdev_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *i | |||
1818 | { | 1818 | { |
1819 | struct netdev_private *np = netdev_priv(dev); | 1819 | struct netdev_private *np = netdev_priv(dev); |
1820 | 1820 | ||
1821 | strcpy(info->driver, DRV_NAME); | 1821 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); |
1822 | strcpy(info->version, DRV_VERSION); | 1822 | strlcpy(info->version, DRV_VERSION, sizeof(info->version)); |
1823 | strcpy(info->bus_info, pci_name(np->pci_dev)); | 1823 | strlcpy(info->bus_info, pci_name(np->pci_dev), sizeof(info->bus_info)); |
1824 | } | 1824 | } |
1825 | 1825 | ||
1826 | static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) | 1826 | static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) |