mirror of
				https://github.com/dgibson/dtc.git
				synced 2025-10-26 23:36:17 -04:00 
			
		
		
		
	die: constify format string arg
We only display this string, so there's no need for it to be writable. Constify away! Acked-by: David Gibson <David@gibson.dropbear.id.au> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
		
							parent
							
								
									cc2c178727
								
							
						
					
					
						commit
						97c122eacc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								util.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								util.h
									
										
									
									
									
								
							|  | @ -23,7 +23,7 @@ | |||
|  *                                                                   USA | ||||
|  */ | ||||
| 
 | ||||
| static inline void __attribute__((noreturn)) die(char * str, ...) | ||||
| static inline void __attribute__((noreturn)) die(const char *str, ...) | ||||
| { | ||||
| 	va_list ap; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue