scrut(1): fixes pledge(2) invocation
This commit is contained in:
		
							parent
							
								
									e0b5467fb6
								
							
						
					
					
						commit
						f25a499ca0
					
				| @ -46,7 +46,7 @@ int main(int argc, char *argv[]) { | ||||
| 	program_name = argv[0] == NULL ? program_name : argv[0]; | ||||
| 
 | ||||
| #ifdef __OpenBSD__ | ||||
| 	if (pledge("rpath stdio unveil", NULL) == -1) { | ||||
| 	if (pledge("rpath stdio unveil", "") == -1) { | ||||
| 		perror(program_name); | ||||
| 		return EX_OSERR; | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user