patch-2.3.99-pre7 linux/drivers/net/wan/lapbether.c
Next file: linux/drivers/net/wan/lmc/lmc_main.c
Previous file: linux/drivers/net/wan/hostess_sv11.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu May 4 11:31:21 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/wan/lapbether.c
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/wan/lapbether.c linux/drivers/net/wan/lapbether.c
@@ -441,7 +441,7 @@
}
dev->priv = (void *)lapbeth; /* pointer back */
- dev->name = buf;
+ strcpy(dev->name, buf);
dev->init = lapbeth_dev_init;
if (register_netdev(dev) != 0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)