From df0a236f8138e12dcafda5b163caf12243d2252f Mon Sep 17 00:00:00 2001 From: emma Date: Tue, 10 Sep 2024 17:12:14 -0600 Subject: [PATCH] mm(1): uses default for Promises --- src/mm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm.rs b/src/mm.rs index 80a9cd7..0565ecb 100644 --- a/src/mm.rs +++ b/src/mm.rs @@ -62,7 +62,7 @@ fn main() -> ExitCode { #[cfg(target_os="openbsd")] { let promises = Promises::new("cpath rpath stdio unveil wpath"); - if let Err(e) = pledge(Some(promises), None) { + if let Err(e) = pledge(Some(promises), Some(Promises::default())) { return err(&argv[0], e, Some(EX_OSERR)); } }