patch-2.3.99-pre7 linux/drivers/net/wan/sdla_chdlc.c

Next file: linux/drivers/net/wan/sdla_fr.c
Previous file: linux/drivers/net/wan/lmc/lmc_main.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/wan/sdla_chdlc.c linux/drivers/net/wan/sdla_chdlc.c
@@ -603,7 +603,7 @@
 	chdlc_priv_area->mc = conf->mc;
 
 	/* prepare network device data space for registration */
-	dev->name = card->u.c.if_name;
+	strcpy(dev->name, card->u.c.if_name);
 	dev->init = &if_init;
 	dev->priv = chdlc_priv_area;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)