Kernel - Changed VFS_SelectNode to be able to watch multiple attribs
[tpg/acess2.git] / Kernel / vfs / open.c
index 0820102..5d1d9fa 100644 (file)
@@ -78,7 +78,7 @@ char *VFS_GetAbsPath(const char *Path)
                strcpy(ret, cwd);
                ret[cwdLen] = '/';
                strcpy(&ret[cwdLen+1], Path);
-               //Log("ret = '%s'\n", ret);
+               //Log("ret = '%s'", ret);
        }
        
        // Parse Path
@@ -590,7 +590,7 @@ void VFS_Close(int FD)
        // 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;
        }
        
@@ -611,7 +611,7 @@ void VFS_Close(int FD)
 /**
  * \brief Change current working directory
  */
-int VFS_ChDir(char *Dest)
+int VFS_ChDir(const char *Dest)
 {
        char    *buf;
         int    fd;
@@ -657,7 +657,7 @@ int VFS_ChDir(char *Dest)
  * \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;

UCC git Repository :: git.ucc.asn.au