[syslinux:master] com32/lib: fix unused parameter warning in chdir()
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Sun Jan 10 13:24:04 PST 2010
Commit-ID: d286efcc42589f61772d551deae486e76f51e960
Gitweb: http://syslinux.zytor.com/commit/d286efcc42589f61772d551deae486e76f51e960
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 10 Jan 2010 12:55:11 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 10 Jan 2010 12:55:11 -0800
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 at zytor.com>
---
com32/lib/chdir.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6f92d66..6a365f3 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;
}
More information about the Syslinux-commits
mailing list