patch-2.4.20 linux-2.4.20/net/irda/discovery.c

Next file: linux-2.4.20/net/irda/ircomm/ircomm_tty.c
Previous file: linux-2.4.20/net/irda/af_irda.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/net/irda/discovery.c linux-2.4.20/net/irda/discovery.c
@@ -108,7 +108,7 @@
 {
 	discovery_t *discovery;
 
-	IRDA_DEBUG(4, __FUNCTION__ "()\n");
+	IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
 
 	/*
 	 *  If log is missing this means that IrLAP was unable to perform the
@@ -144,7 +144,7 @@
 	discovery_t *discovery, *curr;
 	unsigned long flags;
 
-	IRDA_DEBUG(4, __FUNCTION__ "()\n");
+	IRDA_DEBUG(4, "%s()\n", __FUNCTION__);
 
 	spin_lock_irqsave(&irlmp->log_lock, flags);
 

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