aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/chdir.c')
-rw-r--r--com32/lib/chdir.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6a365f3b..00670e35 100644
--- a/com32/lib/chdir.c
+++ b/com32/lib/chdir.c
@@ -6,12 +6,10 @@
#include <stdio.h>
#include <errno.h>
+#include <com32.h>
+#include <syslinux/pmapi.h>
+
int chdir(const char *path)
{
- /* Actually implement something here... */
-
- (void)path;
-
- errno = ENOSYS;
- return -1;
+ return __com32.cs_pm->chdir(path);
}