From 527f6cf86e11c52704cc8a54afbdf71e7c50c021 Mon Sep 17 00:00:00 2001 From: mr-yx <496043997@qq.com> Date: Mon, 27 Jun 2022 22:05:10 +0800 Subject: [PATCH] fixed typos Signed-off-by: mr-yx <496043997@qq.com> --- components/fs/fatfs/fatfs.c | 2 +- kernel/src/los_sched.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/fs/fatfs/fatfs.c b/components/fs/fatfs/fatfs.c index 4a5955ff..0fedd049 100644 --- a/components/fs/fatfs/fatfs.c +++ b/components/fs/fatfs/fatfs.c @@ -350,7 +350,7 @@ int FatfsUmount(struct MountPoint *mp) } volId = GetPartIdByPartName(mp->mDev); - /* umount is not allowed when a file or diretory is opened. */ + /* umount is not allowed when a file or directory is opened. */ if (f_checkopenlock(volId) != FR_OK) { errno = EBUSY; ret = LOS_NOK; diff --git a/kernel/src/los_sched.c b/kernel/src/los_sched.c index 25ffe9d8..f445fec8 100644 --- a/kernel/src/los_sched.c +++ b/kernel/src/los_sched.c @@ -203,7 +203,7 @@ STATIC INLINE BOOL OsSchedScanTimerList(VOID) * (per cpu) and ipc(mutex,sem and etc.)'s block at the same time, it can be waken * up by either timeout or corresponding ipc it's waiting. * - * Now synchronize sortlink procedure is used, therefore the whole task scan needs + * Now synchronize sortlink procedure is used, thereforee the whole task scan needs * to be protected, preventing another core from doing sortlink deletion at same time. */