Linux: get_proc_name() -> osdep_get_name()

pull/121/head
Thomas Adam 2015-08-30 21:47:50 +01:00
parent cb89f2f2a1
commit 29f2120e5b
1 changed files with 1 additions and 1 deletions

View File

@ -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);