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>
This commit is contained in:
Leah Rowe
2026-03-12 18:23:17 +00:00
parent 1cce4871e2
commit 5b92b00bad
+1 -1
View File
@@ -583,7 +583,7 @@ main(int argc, char *argv[])
#ifdef NVMUTIL_UNVEIL #ifdef NVMUTIL_UNVEIL
if (pledge("stdio rpath wpath unveil", NULL) == -1) if (pledge("stdio rpath wpath unveil", NULL) == -1)
err(errno, "pledge"); err(errno, "pledge");
if (unveil("/dev/null", "r") == -1) if (unveil("/dev/urandom", "r") == -1)
err(errno, "unveil '/dev/null'"); err(errno, "unveil '/dev/null'");
#else #else
if (pledge("stdio rpath wpath", NULL) == -1) if (pledge("stdio rpath wpath", NULL) == -1)