*** empty log message ***
diff --git a/include/ebtables_u.h b/include/ebtables_u.h
index 7a47782..d24cf9c 100644
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -319,8 +319,8 @@
 	return -1;							\
 }									\
 __ret;})
-#define ebt_print_memory() {printf("Ebtables: " __FILE__ \
-   " %s %d :Out of memory.\n", __FUNCTION__, __LINE__); exit(-1);}
+#define ebt_print_memory() do {printf("Ebtables: " __FILE__ \
+   " %s %d :Out of memory.\n", __FUNCTION__, __LINE__); exit(-1);} while (0)
 
 /* used for keeping the rule counters right during rule adds or deletes */
 #define CNT_NORM 	0