com32/lib: fix unused parameter warning in chdir()
authorH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 20:55:11 +0000 (12:55 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 10 Jan 2010 20:55:11 +0000 (12:55 -0800)
chdir() is a stub at the moment... to be fixed in Syslinux 4.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/lib/chdir.c

index 6f92d66..6a365f3 100644 (file)
@@ -8,6 +8,10 @@
 
 int chdir(const char *path)
 {
+    /* Actually implement something here... */
+
+    (void)path;
+    
     errno = ENOSYS;
     return -1;
 }