This commit is contained in:
Kevin Lange 2017-01-22 19:24:39 +09:00
parent ae19b8479e
commit 2291180581

View File

@ -415,7 +415,7 @@ static struct dirent * readdir_procfs_root(fs_node_t *node, uint32_t index) {
return out; return out;
} }
if (index == 3) { if (index == 2) {
struct dirent * out = malloc(sizeof(struct dirent)); struct dirent * out = malloc(sizeof(struct dirent));
memset(out, 0x00, sizeof(struct dirent)); memset(out, 0x00, sizeof(struct dirent));
out->ino = 0; out->ino = 0;