From 8972c9dde0c0db76e190147bdf1e3fa6948867ae Mon Sep 17 00:00:00 2001 From: arvinzzz Date: Sat, 7 Jan 2023 17:49:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20statfs=E4=B8=AD=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E9=92=A9=E5=AD=90=E5=88=A4=E7=A9=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: arvinzzz Change-Id: I41a558d270f5870199dc9b67fdc458bd3fb01e0d --- components/fs/vfs/vfs_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fs/vfs/vfs_fs.c b/components/fs/vfs/vfs_fs.c index 9606c024..f610ec43 100644 --- a/components/fs/vfs/vfs_fs.c +++ b/components/fs/vfs/vfs_fs.c @@ -750,7 +750,7 @@ int statfs(const char *path, struct statfs *buf) return MapToPosixRet(ret); } - if (mp->mFs->fsFops->stat != NULL) { + if (mp->mFs->fsFops->statfs != NULL) { ret = mp->mFs->fsMops->statfs(pathInMp, buf); } else { VFS_ERRNO_SET(ENOTSUP); -- Gitee