aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r--drivers/net/e100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index d9750e269a56..ab0868cb120c 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -2572,7 +2572,7 @@ static int __devinit e100_probe(struct pci_dev *pdev,
2572#ifdef CONFIG_NET_POLL_CONTROLLER 2572#ifdef CONFIG_NET_POLL_CONTROLLER
2573 netdev->poll_controller = e100_netpoll; 2573 netdev->poll_controller = e100_netpoll;
2574#endif 2574#endif
2575 strcpy(netdev->name, pci_name(pdev)); 2575 strncpy(netdev->name, pci_name(pdev), sizeof(netdev->name) - 1);
2576 2576
2577 nic = netdev_priv(netdev); 2577 nic = netdev_priv(netdev);
2578 nic->netdev = netdev; 2578 nic->netdev = netdev;