!1013 Fix : statfs函数问题修复挑单到monthly_20221018

Merge pull request !1013 from yinjiaming/cherry-pick-1673836173
This commit is contained in:
openharmony_ci
2023-01-17 08:57:17 +00:00
committed by Gitee

View File

@@ -749,7 +749,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);