summaryrefslogtreecommitdiff
path: root/util/nvmutil/nvmutil.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-02 17:03:00 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-02 17:03:00 +0000
commitc4138752c3ccb110eb839be1f9ab924782f2a93a (patch)
tree8f49d28676b2324b1a194f3fbe2b3a01ad417654 /util/nvmutil/nvmutil.c
parenta4fe1bfa4d6782c90a878380f4a3152f5c0f7924 (diff)
util/nvmutil: remove redundant unveil call
in the given call, we then do an equivalent call immediately after that is the same, but without unveil, so we'll just defer to that. this changes no behaviour. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
-rw-r--r--util/nvmutil/nvmutil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index a63bc572..62380f94 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -88,8 +88,6 @@ main(int argc, char *argv[])
fname = argv[1];
set_io_flags(argc, argv);
#ifdef __OpenBSD__
- if (flags == O_RDONLY)
- err_if(pledge("stdio rpath unveil", NULL) == -1);
block_unveil();
#endif
checkdir("/dev/urandom");