!737 【OpenHarmony开源贡献者计划2022】Fixed typos.
Merge pull request !737 from Mr_YX/master
This commit is contained in:
commit
7add94de1f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue