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; }