summaryrefslogtreecommitdiffstats
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
commit27d4e5773270b1e6adad0462cb5d94e7000f811c (patch)
tree01a76f5e1d0e90809b7e3f43e5b0e0789b25a5df
parent41eee556fb11e507c2dff7eaf97dbf5feb4f70c7 (diff)
*** empty log message ***
-rw-r--r--userspace/ebtables2/include/ebtables_u.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h
index 7a47782..d24cf9c 100644
--- a/userspace/ebtables2/include/ebtables_u.h
+++ b/userspace/ebtables2/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