Skip to content

Commit

Permalink
lxfs: fix in stat() for root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 5, 2024
1 parent 48139c6 commit b254d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/lxfs/src/dirtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ LXFSDirectoryEntry *lxfsFind(LXFSDirectoryEntry *dest, Mountpoint *mp, const cha
if(lxfsReadBlock(mp, mp->root, mp->dataBuffer)) return NULL;

LXFSDirectoryHeader *root = (LXFSDirectoryHeader *) mp->dataBuffer;
dest->size = root->sizeEntries;
dest->size = 1;
dest->accessTime = root->accessTime;
dest->createTime = root->createTime;
dest->modTime = root->modTime;
Expand Down

0 comments on commit b254d17

Please sign in to comment.