未验证 提交 c119b7e9 编写于 作者: O openharmony_ci 提交者: Gitee

!1006 Fix : statfs函数内部判断错误

Merge pull request !1006 from yinjiaming/fix
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册