summaryrefslogtreecommitdiff
path: root/util/nvmutil/nvmutil.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-08 13:11:22 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-08 13:32:14 +0000
commite5d0dee6684c1a37b3c07f1f2690e384e1dfcc55 (patch)
tree0aa8534745a3276349dc59473cba645a5b4d6cfa /util/nvmutil/nvmutil.c
parent1ff1dca6612338d2b2c7dce64dc5fbde3c6c3930 (diff)
util/nvmutil: unified cmd_index reset
use the macro, introduced in the previous commit Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 9aa19977..93cbc459 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -372,7 +372,7 @@ set_cmd(int argc, char *argv[])
command[cmd_index].str);
}
- cmd_index = items(command);
+ cmd_index = CMD_NULL;
}
static void