From c4138752c3ccb110eb839be1f9ab924782f2a93a Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Mar 2026 17:03:00 +0000 Subject: 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 --- util/nvmutil/nvmutil.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'util') 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"); -- cgit v1.2.1