]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
fabrics: Fix NVMF_ARGS macro to use parameter n correctly
authorTokunori Ikegami <ikegami.t@gmail.com>
Fri, 22 Sep 2023 10:07:33 +0000 (19:07 +0900)
committerDaniel Wagner <wagi@monom.org>
Mon, 25 Sep 2023 09:19:30 +0000 (11:19 +0200)
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
fabrics.c

index 605a819035f687b387a6d100c8ae5779d809615f..57ca927fce9abed80fec459bf81ab556db5f505d 100644 (file)
--- a/fabrics.c
+++ b/fabrics.c
@@ -88,7 +88,7 @@ static const char *nvmf_config_file   = "Use specified JSON configuration file or
 static const char *nvmf_context                = "execution context identification string";
 
 #define NVMF_ARGS(n, c, ...)                                                                     \
-       struct argconfig_commandline_options opts[] = {                                          \
+       struct argconfig_commandline_options n[] = {                                             \
                OPT_STRING("transport",       't', "STR", &transport,     nvmf_tport),           \
                OPT_STRING("nqn",             'n', "STR", &subsysnqn,     nvmf_nqn),             \
                OPT_STRING("traddr",          'a', "STR", &traddr,        nvmf_traddr),          \