diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD$ */ +/* $Id$ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -20,7 +20,6 @@ #include <sys/time.h> #include <fnmatch.h> -#include <paths.h> #include <pwd.h> #include <stdlib.h> #include <string.h> @@ -1314,7 +1313,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 && s->curw != NULL) - root = get_proc_cwd(s->curw->window->active->fd); + root = osdep_get_cwd(s->curw->window->active->fd); else return (s->cwd); skip = 0; |