diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 23:22:14 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 23:22:14 +0000 |
| commit | 1e407a2a655ebcda8fd0f13746f46bc41fe73dbe (patch) | |
| tree | aa04e55b9cb0aba313b3a9833a7ac3fb95bac7c1 /util | |
| parent | dd109ccf07638451b72f586b62cbfc390fb99df6 (diff) | |
util/nvmutil: reset invert in main
currently redundant, but again i might expand this
in the future to allow multiple runs. putting this
here as good practise (currently redundant).
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index bd343071..c70e3836 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -98,9 +98,11 @@ static void (*cmd)(void) = NULL; int main(int argc, char *argv[]) { + argv0 = argv[0]; + mac = NULL; + invert = 0; - argv0 = argv[0]; if (argc < 2) usage(); fname = argv[1]; |
