Fixup osdep-* specific code

get_proc_name() is osdep_get_name() outside of OpenBSD.
This commit is contained in:
Thomas
2013-10-11 14:39:22 +01:00
parent 1a0951959f
commit f703a30dfe
3 changed files with 1 additions and 6 deletions

View File

@ -355,7 +355,7 @@ format_get_command(struct window_pane *wp)
{
char *cmd, *out;
cmd = get_proc_name(wp->fd, wp->tty);
cmd = osdep_get_name(wp->fd, wp->tty);
if (cmd == NULL || *cmd == '\0') {
free(cmd);
cmd = xstrdup(wp->cmd);