util/nvmutil: don't reset rfd on openbsd

it isn't defined there

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-06 15:02:46 +00:00
parent 99543bc632
commit 7950a31c79
+2
View File
@@ -210,7 +210,9 @@ reset_global_state(void)
fname = "";
cmd = NULL;
fd = -1;
#ifndef HAVE_ARC4RANDOM
rfd = -1;
#endif
part = 0;
memset(macbuf, 0, sizeof(macbuf));