mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-27 17:18:50 +01:00
Linux: get_proc_name() -> osdep_get_name()
This commit is contained in:
parent
cb89f2f2a1
commit
29f2120e5b
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)
|
if (wp == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cmd = get_proc_name(wp->fd, wp->tty);
|
cmd = osdep_get_name(wp->fd, wp->tty);
|
||||||
if (cmd == NULL || *cmd == '\0') {
|
if (cmd == NULL || *cmd == '\0') {
|
||||||
free(cmd);
|
free(cmd);
|
||||||
cmd = cmd_stringify_argv(wp->argc, wp->argv);
|
cmd = cmd_stringify_argv(wp->argc, wp->argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user