mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.
This commit is contained in:
		
							
								
								
									
										4
									
								
								log.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								log.c
									
									
									
									
									
								
							@@ -102,7 +102,7 @@ log_debug(const char *msg, ...)
 | 
			
		||||
 | 
			
		||||
/* Log a critical error with error string and die. */
 | 
			
		||||
__dead void
 | 
			
		||||
log_fatal(const char *msg, ...)
 | 
			
		||||
fatal(const char *msg, ...)
 | 
			
		||||
{
 | 
			
		||||
	char	*fmt;
 | 
			
		||||
	va_list	 ap;
 | 
			
		||||
@@ -116,7 +116,7 @@ log_fatal(const char *msg, ...)
 | 
			
		||||
 | 
			
		||||
/* Log a critical error and die. */
 | 
			
		||||
__dead void
 | 
			
		||||
log_fatalx(const char *msg, ...)
 | 
			
		||||
fatalx(const char *msg, ...)
 | 
			
		||||
{
 | 
			
		||||
	char	*fmt;
 | 
			
		||||
	va_list	 ap;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user