intcmp(1): uses default value for Promises
This commit is contained in:
parent
73a75a32df
commit
e385d873ec
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user