diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-06 15:02:46 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-06 15:02:46 +0000 |
| commit | 7950a31c793f2b0ab225931d3e82d0fa087c8e02 (patch) | |
| tree | 4284bbe081b729931dffb6db85d193810b94de4d /util | |
| parent | 99543bc6320b30f491acccd34f676190adf9bb99 (diff) | |
util/nvmutil: don't reset rfd on openbsd
it isn't defined there
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 3d82b24c..93f03d4a 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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)); |
