mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 02:44:19 +01: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