From e385d873eca340303a6574b3fd3de6497892dec6 Mon Sep 17 00:00:00 2001 From: emma Date: Tue, 10 Sep 2024 17:11:22 -0600 Subject: [PATCH] intcmp(1): uses default value for Promises --- src/intcmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intcmp.rs b/src/intcmp.rs index 9efc8be..7bd4819 100644 --- a/src/intcmp.rs +++ b/src/intcmp.rs @@ -49,7 +49,7 @@ fn main() -> ExitCode { #[cfg(target_os="openbsd")] { let promises = Promises::new("stdio unveil"); - if let Err(e) = pledge(Some(promises), None) { + if let Err(e) = pledge(Some(promises), Some(Promises::default())) { return err(&argv[0], e.strerror(), EX_OSERR); }