speedtch usb_atm.c,1.5,1.6

David Woodhouse dwmw2 at infradead.org
Wed Oct 6 08:22:51 EDT 2004


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv30339

Modified Files:
	usb_atm.c 
Log Message:
print the assertion which failed

Index: usb_atm.c
===================================================================
RCS file: /home/cvs/speedtch/usb_atm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- usb_atm.c	6 Oct 2004 07:31:59 -0000	1.5
+++ usb_atm.c	6 Oct 2004 12:22:48 -0000	1.6
@@ -97,7 +97,7 @@
 #ifdef DEBUG
 #define UDSL_ASSERT(x)	BUG_ON(!(x))
 #else
-#define UDSL_ASSERT(x)	warn("failed assertion at line %d", __LINE__)
+#define UDSL_ASSERT(x)	warn("failed assertion '" #x "' at line %d", __LINE__)
 #endif
 
 #ifdef VERBOSE_DEBUG




More information about the Usbatm-commits mailing list