summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 18:23:17 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 18:23:17 +0000
commit5b92b00bad6e8a8e0cd85c680fed9292e361ccaa (patch)
tree844b6b25f583abe7f8d9ea280e5e27382b2606dc /util/nvmutil
parent1cce4871e2e865d7dd158f007ff0c1a975c4c170 (diff)
util/nvmutil: fix regression on openbsd
when i removed arc4random integration, i forgot to change this line back. oops! Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 1 insertions, 1 deletions
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)