diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-04 00:44:47 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-04 00:44:47 +0000 |
| commit | 53a680c0638c86dc261cbcbf31861b0cb75d0a7a (patch) | |
| tree | 704de92e440531f698501155223c30a201f9a397 /util | |
| parent | 46a0fe6b8af7ce3a516895ab8d872a43d845304b (diff) | |
util/nvmutil: reset errno in reset_global_state
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 26659779..8a52ab03 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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; |
