Skip to contentSkip to conversation

FIX for XBUG(comment) BUG enhancement

PATCH New Rusty Russell 1 participant 1 message May 24, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 FIX for XBUG(comment) BUG enhancement

Fix for two-character typo (noticed by Stephen Rothwell). Applies on top of XBUG patch.

include/linux/jbd.h renamed from include/linux/jbd.h.~1~ +2 -1
@@ -27,6 +27,7 @@
 
 #include <linux/journal-head.h>
 #include <linux/stddef.h>
+#include <linux/stringify.h>
 #include <asm/semaphore.h>
 #endif
 
@@ -200,7 +201,7 @@
 do {									\
 	if (!(assert)) {						\
 		XBUG("Assertion failure in " __FUNCTION__		\
-		     "() at " __FILE__ ":" __stringize(__LINE__)	\
+		     "() at " __FILE__ ":" __stringify(__LINE__)	\
 		     ": " #assert);					\
 	}								\
 } while (0)

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.