aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-10 12:55:11 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-10 12:55:11 -0800
commitd286efcc42589f61772d551deae486e76f51e960 (patch)
treee2ef480fade2a088a01ff33e94d6b01f4c5fc339
parentaeace38fa079d56b46898385a926df5356146b1d (diff)
downloadsyslinux.git-d286efcc42589f61772d551deae486e76f51e960.tar.gz
syslinux.git-d286efcc42589f61772d551deae486e76f51e960.tar.xz
syslinux.git-d286efcc42589f61772d551deae486e76f51e960.zip
com32/lib: fix unused parameter warning in chdir()
chdir() is a stub at the moment... to be fixed in Syslinux 4. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/lib/chdir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6f92d668..6a365f3b 100644
--- a/com32/lib/chdir.c
+++ b/com32/lib/chdir.c
@@ -8,6 +8,10 @@
int chdir(const char *path)
{
+ /* Actually implement something here... */
+
+ (void)path;
+
errno = ENOSYS;
return -1;
}