diff options
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_dev.c')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c index 5d0f61508a2..8a3cf4fe376 100644 --- a/drivers/net/wireless/prism54/islpci_dev.c +++ b/drivers/net/wireless/prism54/islpci_dev.c | |||
@@ -793,8 +793,8 @@ islpci_set_multicast_list(struct net_device *dev) | |||
793 | static void islpci_ethtool_get_drvinfo(struct net_device *dev, | 793 | static void islpci_ethtool_get_drvinfo(struct net_device *dev, |
794 | struct ethtool_drvinfo *info) | 794 | struct ethtool_drvinfo *info) |
795 | { | 795 | { |
796 | strcpy(info->driver, DRV_NAME); | 796 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); |
797 | strcpy(info->version, DRV_VERSION); | 797 | strlcpy(info->version, DRV_VERSION, sizeof(info->version)); |
798 | } | 798 | } |
799 | 799 | ||
800 | static const struct ethtool_ops islpci_ethtool_ops = { | 800 | static const struct ethtool_ops islpci_ethtool_ops = { |