summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-10-02 12:10:07 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-10-02 12:10:07 +0000
commit02619f47a3b6aa5027934e3b24243c886dfc95ab (patch)
tree1f9c1942c4ae9880a4dd5aae50a0be605ff22755 /include
parent3d3401ac65abb1f896fb0dd7219c25c2f2c58b19 (diff)
*** empty log message ***
Diffstat (limited to 'include')
-rw-r--r--include/ebtables_u.h4
1 files changed, 2 insertions, 2 deletions
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 @@ if (!optarg) { \
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