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

Next file: linux/drivers/net/wan/sdla_x25.c
Previous file: linux/drivers/net/wan/sdla_fr.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_ppp.c linux/drivers/net/wan/sdla_ppp.c
@@ -501,7 +501,7 @@
 
 
 	/* prepare network device data space for registration */
-	dev->name = card->u.p.if_name;
+	strcpy(dev->name, card->u.p.if_name);
 	dev->init = &if_init;
 	dev->priv = ppp_priv_area;
 

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