diff --git a/src/hru.rs b/src/hru.rs index 978f261..153032b 100644 --- a/src/hru.rs +++ b/src/hru.rs @@ -95,7 +95,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(), Some(EX_OSERR)); }