patch-2.3.99-pre7 linux/net/irda/irlan/irlan_client.c
Next file: linux/net/irda/irlan/irlan_common.c
Previous file: linux/net/ipx/af_spx.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu May  4 11:31:22 2000
-  Orig file: 
v2.3.99-pre6/linux/net/irda/irlan/irlan_client.c
-  Orig date: 
Sun Feb 20 21:12:40 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/net/irda/irlan/irlan_client.c linux/net/irda/irlan/irlan_client.c
@@ -139,7 +139,7 @@
 		 * down by the user
 		 */
 		mgr_event.event = EVENT_IRLAN_START;
-		sprintf(mgr_event.devname, "%s", self->ifname);
+		strcpy(mgr_event.devname, self->dev.name);
 		irmanager_notify(&mgr_event);
 		
 		/* 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)