!1006 Fix : statfs函数内部判断错误
Merge pull request !1006 from yinjiaming/fix
This commit is contained in:
commit
c119b7e9e2
|
@ -742,7 +742,7 @@ int statfs(const char *path, struct statfs *buf)
|
|||
return MapToPosixRet(ret);
|
||||
}
|
||||
|
||||
if (mp->mFs->fsFops->stat != NULL) {
|
||||
if (mp->mFs->fsMops->statfs != NULL) {
|
||||
ret = mp->mFs->fsMops->statfs(pathInMp, buf);
|
||||
} else {
|
||||
VFS_ERRNO_SET(ENOTSUP);
|
||||
|
|
Loading…
Reference in New Issue