[syslinux] [PATCH] Fix COM32 chdir()
Gene Cumm
gene.cumm at gmail.com
Sat Jun 26 06:19:18 PDT 2010
From: Gene Cumm <gene.cumm at gmail.com>
Fix COM32 chdir() since it's implemented in the core.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6a365f3..4bd4c84 100644
--- a/com32/lib/chdir.c
+++ b/com32/lib/chdir.c
@@ -8,10 +8,5 @@
int chdir(const char *path)
{
- /* Actually implement something here... */
-
- (void)path;
-
- errno = ENOSYS;
- return -1;
+ return __com32.cs_pm->chdir(path);
}
More information about the Syslinux
mailing list