From 5b92b00bad6e8a8e0cd85c680fed9292e361ccaa Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 12 Mar 2026 18:23:17 +0000 Subject: util/nvmutil: fix regression on openbsd when i removed arc4random integration, i forgot to change this line back. oops! Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index b2e6aad8..3c0279e2 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -583,7 +583,7 @@ main(int argc, char *argv[]) #ifdef NVMUTIL_UNVEIL if (pledge("stdio rpath wpath unveil", NULL) == -1) err(errno, "pledge"); - if (unveil("/dev/null", "r") == -1) + if (unveil("/dev/urandom", "r") == -1) err(errno, "unveil '/dev/null'"); #else if (pledge("stdio rpath wpath", NULL) == -1) -- cgit v1.2.1