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

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)