mirror of
https://github.com/devkitPro/wut.git
synced 2026-04-24 23:46:56 -05:00
devoptab: add missing S_IFREG flag in the fstat return value
This commit is contained in:
parent
ff25fe18d0
commit
545ea62e11
|
|
@ -29,6 +29,6 @@ __wut_fs_fstat(struct _reent *r,
|
|||
st->st_uid = fsStat.owner;
|
||||
st->st_gid = fsStat.group;
|
||||
st->st_nlink = 1;
|
||||
st->st_mode = fsStat.mode;
|
||||
st->st_mode = fsStat.mode | S_IFREG;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user