Kernel/rootfs - Fixed root not being a directory
[tpg/acess2.git] / KernelLand / Kernel / vfs / fs / root.c
index 6c45f40..5da13fa 100644 (file)
@@ -71,6 +71,7 @@ tVFS_Node *Root_InitDevice(const char *Device, const char **Options)
        root->Node.NumACLs = 3;
        root->Node.ACLs = RootFS_DirACLs;
 
+       root->Node.Flags = VFS_FFLAG_DIRECTORY;
        root->Node.Type = &gRootFS_DirType;
        
        return &root->Node;

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