]> The Tcpdump Group git mirrors - tcpdump/commitdiff
ENC: Update a macro argument name avoiding it will be flagged as a typo
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 12 Dec 2020 21:24:31 +0000 (22:24 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 12 Dec 2020 21:38:09 +0000 (22:38 +0100)
[skip ci]

print-enc.c

index 5a781af4fbdf62608ab2f1021b62e30f0effb7ae..9f541c3ccc569b85d7331da319f493bc8ae89bf7 100644 (file)
@@ -81,9 +81,9 @@ struct enchdr {
        nd_uint32_t flags;
 };
 
-#define ENC_PRINT_TYPE(wh, xf, nam) \
+#define ENC_PRINT_TYPE(wh, xf, name) \
        if ((wh) & (xf)) { \
-               ND_PRINT("%s%s", nam, (wh) == (xf) ? "): " : ","); \
+               ND_PRINT("%s%s", name, (wh) == (xf) ? "): " : ","); \
                (wh) &= ~(xf); \
        }