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