!737 【OpenHarmony开源贡献者计划2022】Fixed typos.

Merge pull request !737 from Mr_YX/master
This commit is contained in:
openharmony_ci 2022-07-04 01:20:36 +00:00 committed by Gitee
commit 7add94de1f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 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;