mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Linux: get_proc_name() -> osdep_get_name()
This commit is contained in:
		
							
								
								
									
										2
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								format.c
									
									
									
									
									
								
							@@ -373,7 +373,7 @@ format_cb_current_command(struct format_tree *ft, struct format_entry *fe)
 | 
			
		||||
	if (wp == NULL)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	cmd = get_proc_name(wp->fd, wp->tty);
 | 
			
		||||
	cmd = osdep_get_name(wp->fd, wp->tty);
 | 
			
		||||
	if (cmd == NULL || *cmd == '\0') {
 | 
			
		||||
		free(cmd);
 | 
			
		||||
		cmd = cmd_stringify_argv(wp->argc, wp->argv);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user