patch-2.3.99-pre7 linux/drivers/net/wan/comx.c
Next file: linux/drivers/net/wan/cosa.c
Previous file: linux/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 2 12:41:00 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/wan/comx.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/wan/comx.c linux/drivers/net/wan/comx.c
@@ -877,7 +877,7 @@
return -ENOMEM;
}
memset(dev, 0, sizeof(struct net_device));
- dev->name = (char *)new_dir->name;
+ strcpy(dev->name, (char *)new_dir->name);
dev->init = comx_init_dev;
if (register_netdevice(dev)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)