strcpy(ret, cwd);
ret[cwdLen] = '/';
strcpy(&ret[cwdLen+1], Path);
- //Log("ret = '%s'\n", ret);
+ //Log("ret = '%s'", ret);
}
// Parse Path
// Get handle
h = VFS_GetHandle(FD);
if(h == NULL) {
- Log_Warning("VFS", "Invalid file handle passed to VFS_Close, 0x%x\n", FD);
+ Log_Warning("VFS", "Invalid file handle passed to VFS_Close, 0x%x", FD);
return;
}
/**
* \brief Change current working directory
*/
-int VFS_ChDir(char *Dest)
+int VFS_ChDir(const char *Dest)
{
char *buf;
int fd;
* \fn int VFS_ChRoot(char *New)
* \brief Change current root directory
*/
-int VFS_ChRoot(char *New)
+int VFS_ChRoot(const char *New)
{
char *buf;
int fd;