From 0fd0030a2acfe10be5670114adfc9fc046c37492 Mon Sep 17 00:00:00 2001
From: Tiago Cunha <tcunha@gmx.com>
Date: Thu, 2 Feb 2012 01:57:14 +0000
Subject: [PATCH] Adjust function name to the portable version.

---
 cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd.c b/cmd.c
index 59cbfbc8..a58b0d58 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1304,7 +1304,7 @@ cmd_get_default_path(struct cmd_ctx *ctx, const char *cwd)
 		if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL)
 			root = ctx->cmdclient->cwd;
 		else if (ctx->curclient != NULL)
-			root = get_proc_cwd(s->curw->window->active->pid);
+			root = osdep_get_cwd(s->curw->window->active->pid);
 		else
 			return (s->cwd);
 		skip = 0;