VFS - Rework to remove function pointers from tVFS_Node
[tpg/acess2.git] / Kernel / vfs / main.c
index cb798c1..c6525f4 100644 (file)
@@ -81,7 +81,7 @@ char *VFS_GetTruePath(const char *Path)
        //Log(" VFS_GetTruePath: node=%p, ret='%s'", node, ret);
        
        if(!node)       return NULL;
-       if(node->Close) node->Close(node);
+       if(node->Type->Close)   node->Type->Close(node);
        
        return ret;
 }

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