From 800a097903d3eeedd1eccba1ae663a419206fbc5 Mon Sep 17 00:00:00 2001 From: emma Date: Tue, 10 Sep 2024 17:14:02 -0600 Subject: [PATCH] swab(1): uses default for promises --- src/swab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }