From 3341bfd6c5d1b68ce4ae45142741ecdb498100f4 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Mon, 23 May 2022 12:08:25 -0500 Subject: [PATCH] The `ARG` macro should be uppercased when undefining it This isn't a bug right now, but it could be in the future if ARG is used in a different context. --- src/cryptsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptsetup.c b/src/cryptsetup.c index 627f25b2..ce018025 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -3103,7 +3103,7 @@ int main(int argc, const char **argv) { NULL, '\0', POPT_ARG_CALLBACK, basic_options_cb, 0, NULL, NULL }, #define ARG(A, B, C, D, E, F, G, H) { A, B, C, NULL, A ## _ID, D, E }, #include "cryptsetup_arg_list.h" -#undef arg +#undef ARG POPT_TABLEEND }; static struct poptOption popt_options[] = {