!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
commit 44e7c46e5b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

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);