Adjust OpenBSD patchset 1083 to the portable version.

This commit is contained in:
Tiago Cunha 2012-04-10 09:50:32 +00:00
parent 2ce636a315
commit b58d7f78a1
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp)
format_add(ft, "pane_start_command", "%s", wp->cmd);
if (wp->cwd != NULL)
format_add(ft, "pane_start_path", "%s", wp->cwd);
format_add(ft, "pane_current_path", "%s", get_proc_cwd(wp->pid));
format_add(ft, "pane_current_path", "%s", osdep_get_cwd(wp->pid));
format_add(ft, "pane_pid", "%ld", (long) wp->pid);
format_add(ft, "pane_tty", "%s", wp->tty);
}