From: John Hodge Date: Wed, 15 Aug 2012 04:55:21 +0000 (+0800) Subject: Kernel/VFS - Fixed debug in open.c X-Git-Tag: rel0.15~706^2~41 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4e00e82a0ecfa03a11d96313fc53a014287319ce;hp=8e54c94fa54a975f1eea55e4dda475251d5445b6;p=tpg%2Facess2.git Kernel/VFS - Fixed debug in open.c --- diff --git a/KernelLand/Kernel/vfs/open.c b/KernelLand/Kernel/vfs/open.c index e4d2bb2f..22d20e99 100644 --- a/KernelLand/Kernel/vfs/open.c +++ b/KernelLand/Kernel/vfs/open.c @@ -292,7 +292,7 @@ restart_parse: } if( !curNode->Type->FindDir ) { - LOG("Finddir failure on '%s' - No FindDir method in %s", Path, curNode->Type->Name); + LOG("Finddir failure on '%s' - No FindDir method in %s", Path, curNode->Type->TypeName); goto _error; } LOG("FindDir{=%p}(%p, '%s')", curNode->Type->FindDir, curNode, pathEle); @@ -391,7 +391,7 @@ restart_parse: LOG("tmpNode = %p", tmpNode); // Check if file was found if(!tmpNode) { - LOG("Node '%s' not found in dir '%s'", &Path[ofs], Path); + LOG("Node '%s' not found in dir '%.*s'", &Path[ofs], ofs, Path); goto _error; } _CloseNode( curNode );