Cleaning up debug (and set modules to build with debug)
[tpg/acess2.git] / Kernel / vfs / dir.c
index fbfc3af..3e004b9 100644 (file)
@@ -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) ) {

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