aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index d6ab7db0..bc25929d 100644
--- a/builtin.c
+++ b/builtin.c
@@ -65,6 +65,7 @@
#include "halloc_util.h"
#include "parse_util.h"
#include "expand.h"
+#include "path.h"
@@ -2076,7 +2077,7 @@ static int builtin_cd( wchar_t **argv )
else
dir_in = argv[1];
- dir = parser_cdpath_get( context, dir_in );
+ dir = path_get_cdpath( context, dir_in );
if( !dir )
{