diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2022-02-09 19:12:26 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2022-02-09 19:18:10 +0100 |
commit | b6fdd482ceb0afce2508eebf2e863df1b4071cb2 (patch) | |
tree | d9ec619fbc8cd04bbff5c4ea26543c9afa389f93 /print-zephyr.c | |
parent | 255c1cbcf3300216bcd23a0df63493ae37e6d70f (diff) | |
download | tcpdump-b6fdd482ceb0afce2508eebf2e863df1b4071cb2.tar.gz |
Zephyr: Fix the ZEPHYR_PRINT() macro
A block is needed.
Diffstat (limited to 'print-zephyr.c')
-rw-r--r-- | print-zephyr.c | 3 |
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) |