diff --git a/kernel/src/fs/InitRD.cpp b/kernel/src/fs/InitRD.cpp index 08584815..bb664610 100644 --- a/kernel/src/fs/InitRD.cpp +++ b/kernel/src/fs/InitRD.cpp @@ -226,6 +226,7 @@ int initrd_mkdir(VFS::Node* node, const char* name, mode_t mode) // FIXME: Retur new_node.inode = inode; new_node.find_func = initrd_scan_dir; new_node.mkdir_func = initrd_mkdir; + new_node.readdir_func = initrd_read_dir; new_node.length = 0; new_node.type = VFS_DIRECTORY; new_node.mode = mode;