diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 23:46:01 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 23:46:01 +0000 |
| commit | 3b8de31f37e2c3ee43cdcf39b84685f62382c9e1 (patch) | |
| tree | 6fb48e17e51ba36432b7373198a82a6ea669ca14 /util | |
| parent | 704a7beeb472eb55d37d4315ef8e6e097d141792 (diff) | |
util/nvmutil: more thorough global_state_reset
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 a2e4ba25..d4233d69 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -148,6 +148,8 @@ reset_global_state(void) part_modified[1] = 0; fname = ""; cmd = NULL; + fd = 0; + part = 0; } static void |
