mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Make cmd_log_argv take a printf-like format for the prefix.
This commit is contained in:
		
							
								
								
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							@@ -329,7 +329,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
 | 
			
		||||
	}
 | 
			
		||||
	if (cwd != NULL)
 | 
			
		||||
		log_debug("%s: cwd=%s", __func__, cwd);
 | 
			
		||||
	cmd_log_argv(new_wp->argc, new_wp->argv, __func__);
 | 
			
		||||
	cmd_log_argv(new_wp->argc, new_wp->argv, "%s", __func__);
 | 
			
		||||
	environ_log(child, "%s: environment ", __func__);
 | 
			
		||||
 | 
			
		||||
	/* If the command is empty, don't fork a child process. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user