Linux: get_proc_name() -> osdep_get_name()

This commit is contained in:
Thomas Adam 2015-08-30 21:47:50 +01:00
parent cb89f2f2a1
commit 29f2120e5b

View File

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