fixed typos

Signed-off-by: mr-yx <496043997@qq.com>
This commit is contained in:
mr-yx 2022-06-27 22:05:10 +08:00
parent df9387c28f
commit 527f6cf86e
2 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ int FatfsUmount(struct MountPoint *mp)
} }
volId = GetPartIdByPartName(mp->mDev); 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) { if (f_checkopenlock(volId) != FR_OK) {
errno = EBUSY; errno = EBUSY;
ret = LOS_NOK; ret = LOS_NOK;

View File

@ -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 * (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. * 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. * to be protected, preventing another core from doing sortlink deletion at same time.
*/ */