mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 14:12:44 +02:00
util/nvmutil: reset errno in reset_global_state
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -165,6 +165,8 @@ main(int argc, char *argv[])
|
|||||||
static void
|
static void
|
||||||
reset_global_state(void)
|
reset_global_state(void)
|
||||||
{
|
{
|
||||||
|
errno = 0;
|
||||||
|
|
||||||
mac = NULL;
|
mac = NULL;
|
||||||
invert = 0;
|
invert = 0;
|
||||||
part_modified[0] = 0;
|
part_modified[0] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user