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

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)