X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Kernel%2Fvfs%2Fopen.c;h=5d1d9fa7cd114af74644ef1e1ccbd50b2a955894;hb=4d498b090274b87befa5652589e0aa54b2b6fe0a;hp=0820102575b4cc3db96e40b88f1edfb761e953b0;hpb=4cd445c8aa22fa18f34291202787787ddda659aa;p=tpg%2Facess2.git diff --git a/Kernel/vfs/open.c b/Kernel/vfs/open.c index 08201025..5d1d9fa7 100644 --- a/Kernel/vfs/open.c +++ b/Kernel/vfs/open.c @@ -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;