patch-2.3.99-pre7 linux/drivers/isdn/isdn_net.c

Next file: linux/drivers/isdn/sc/timer.c
Previous file: linux/drivers/isdn/isdn_common.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/isdn/isdn_net.c linux/drivers/isdn/isdn_net.c
@@ -2799,7 +2799,7 @@
 		strcpy(netdev->local->name, "         ");
 	else
 		strcpy(netdev->local->name, name);
-	netdev->dev.name = netdev->local->name;
+	strcpy(netdev->dev.name, netdev->local->name);
 	netdev->dev.priv = netdev->local;
 	netdev->dev.init = isdn_net_init;
 	netdev->local->p_encap = ISDN_NET_ENCAP_RAWIP;

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