mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 00:03:45 +02:00
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:
@@ -210,7 +210,9 @@ reset_global_state(void)
|
|||||||
fname = "";
|
fname = "";
|
||||||
cmd = NULL;
|
cmd = NULL;
|
||||||
fd = -1;
|
fd = -1;
|
||||||
|
#ifndef HAVE_ARC4RANDOM
|
||||||
rfd = -1;
|
rfd = -1;
|
||||||
|
#endif
|
||||||
part = 0;
|
part = 0;
|
||||||
|
|
||||||
memset(macbuf, 0, sizeof(macbuf));
|
memset(macbuf, 0, sizeof(macbuf));
|
||||||
|
|||||||
Reference in New Issue
Block a user