From 7950a31c793f2b0ab225931d3e82d0fa087c8e02 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 6 Mar 2026 15:02:46 +0000 Subject: util/nvmutil: don't reset rfd on openbsd it isn't defined there Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') 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)); -- cgit v1.2.1