From c1bfe6a4387f6a699b4665e5266caf888e0e0dcf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 8 Mar 2026 02:20:13 +0000 Subject: util/nvmutil: rename command.args to argc that way, it makes more sense sementantically Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index c6065d79..914525f2 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -174,7 +174,7 @@ struct commands { against cmd index, to verify correct enum order */ const char *str; void (*run)(void); - int args; + int argc; uint8_t invert; }; @@ -312,7 +312,7 @@ set_cmd(int argc, char *argv[]) for (cmd = 0; cmd < (ssize_t)items(command); cmd++) { if (strcmp(argv[2], command[cmd].str) != 0) continue; - if (argc >= command[cmd].args) { + if (argc >= command[cmd].argc) { return; } -- cgit v1.2.1