BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / 1628fcfdfdf2978ed9ccac96ee7d13bb3dc43a01 / vfs / ext2fs

// Related

Orion

Barry Keyboard/Mouse drivers + POSIX names for structs 1628fcf (2 years, 4 months ago)
diff --git a/vfs/ext2fs/file.c b/vfs/ext2fs/file.c
index d0caa35..9701e37 100644
--- a/vfs/ext2fs/file.c
+++ b/vfs/ext2fs/file.c
@@ -71,10 +71,10 @@ ext2fs_readdir(File *file, DirEnt *dent, off_t index)
 	}
 	if (!de->ino)
 		return -ENOENT;
-	dent->ino = de->ino;
-	dent->type = de->type;
-	dent->namelen = de->nameLen + 1;
-	strncpy(dent->name, de->name, de->size);
+	dent->d_ino = de->ino;
+	dent->d_type = de->type;
+	dent->d_namelen = de->nameLen + 1;
+	strncpy(dent->d_name, de->name, de->size);
 	return 0;
 }