X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Fdir.c;h=3e004b91d538439af85232e8f404a03051571356;hb=a054fab667b0ebb7ea2c91181a961b3fdcc330a1;hp=fbfc3af2c93079d01d53fd6c92e98a50e04e8e58;hpb=a4ce2e60f783c9e71447edc03f20f937b8abf35a;p=tpg%2Facess2.git diff --git a/Kernel/vfs/dir.c b/Kernel/vfs/dir.c index fbfc3af2..3e004b91 100644 --- a/Kernel/vfs/dir.c +++ b/Kernel/vfs/dir.c @@ -61,7 +61,12 @@ int VFS_MkNod(char *Path, Uint Flags) else parent = VFS_ParsePath(absPath, NULL); - if(!parent) return -1; // Error Check + LOG("parent = %p", parent); + + if(!parent) { + LEAVE('i', -1); + return -1; // Error Check + } // Permissions Check if( !VFS_CheckACL(parent, VFS_PERM_EXECUTE|VFS_PERM_WRITE) ) {