diff options
Diffstat (limited to 'include/ebtables_u.h')
-rw-r--r-- | include/ebtables_u.h | 4 |
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 |