From b58d7f78a1c7c6755321e97046307db1d295c2d6 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 10 Apr 2012 09:50:32 +0000 Subject: [PATCH] Adjust OpenBSD patchset 1083 to the portable version. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index f4457637..2dea8e81 100644 --- a/format.c +++ b/format.c @@ -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); }