From 8b11135135e98e90392e34a1e03e164c3f2964a6 Mon Sep 17 00:00:00 2001 From: Cheng Ziqiu Date: Wed, 15 Mar 2023 22:01:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E4=B8=80=E4=BA=9B=E6=8B=BC=E5=86=99=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cheng Ziqiu Change-Id: Icc152031144f9756f4da018e24d338c0d28a8fa9 --- components/fs/vfs/vfs_files.h | 2 +- components/fs/vfs/vfs_mount.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/fs/vfs/vfs_files.h b/components/fs/vfs/vfs_files.h index 180aedbf..ccc0b9c7 100644 --- a/components/fs/vfs/vfs_files.h +++ b/components/fs/vfs/vfs_files.h @@ -78,7 +78,7 @@ struct File { off_t fOffset; INT32 fOwner; struct MountPoint *fMp; - void *fData; /* file system opreations handle, fatfs FIL, etc. */ + void *fData; /* file system operations handle, fatfs FIL, etc. */ const char *fullPath; }; diff --git a/components/fs/vfs/vfs_mount.c b/components/fs/vfs/vfs_mount.c index d6821b1a..c3b16ee8 100644 --- a/components/fs/vfs/vfs_mount.c +++ b/components/fs/vfs/vfs_mount.c @@ -184,7 +184,7 @@ STATIC struct MountPoint *VfsMountPointInit(const char *source, const char *targ return NULL; } - /* Find fsMap coresponding to the fsType */ + /* Find fsMap corresponding to the fsType */ mFs = VfsFsMapGet(fsType); if ((mFs == NULL) || (mFs->fsMops == NULL) || (mFs->fsMops->mount == NULL)) { errno = ENODEV;