diff --git a/src/swab.rs b/src/swab.rs index 2ea9fcc..4dd0021 100644 --- a/src/swab.rs +++ b/src/swab.rs @@ -50,7 +50,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, EX_OSERR); }