util/nvmutil: unified cmd_index reset

use the macro, introduced in the previous commit

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-08 13:11:22 +00:00
parent 1ff1dca661
commit e5d0dee668
+1 -1
View File
@@ -372,7 +372,7 @@ set_cmd(int argc, char *argv[])
command[cmd_index].str);
}
cmd_index = items(command);
cmd_index = CMD_NULL;
}
static void