summaryrefslogtreecommitdiff
path: root/print-zephyr.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-zephyr.c')
-rw-r--r--print-zephyr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-zephyr.c b/print-zephyr.c
index b3d897e0..11e1e593 100644
--- a/print-zephyr.c
+++ b/print-zephyr.c
@@ -140,8 +140,7 @@ str_to_lower(const char *string)
}
#define ZEPHYR_PRINT(str1,str2) \
-ND_PRINT("%s", str1); \
-fn_print_str(ndo, (const u_char *)str2);
+{ ND_PRINT("%s", (str1)); fn_print_str(ndo, (const u_char *)(str2)); }
void
zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length)