util/nvmutil: reset errno in reset_global_state

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-04 00:44:47 +00:00
parent 46a0fe6b8a
commit 53a680c063
+2
View File
@@ -165,6 +165,8 @@ main(int argc, char *argv[])
static void
reset_global_state(void)
{
errno = 0;
mac = NULL;
invert = 0;
part_modified[0] = 0;