Fix typos in source code (#2258)

This commit is contained in:
yan0f
2023-01-06 19:06:50 +03:00
committed by GitHub
parent 41c43f4805
commit 9740dd8c75
13 changed files with 15 additions and 15 deletions

View File

@@ -3975,7 +3975,7 @@ FRESULT f_getcwd (
#endif
if (i == len) { /* Root-directory */
*tp++ = '/';
} else { /* Sub-directroy */
} else { /* Sub-directory */
do /* Add stacked path str */
*tp++ = buff[i++];
while (i < len);
@@ -4673,7 +4673,7 @@ FRESULT f_mkdir (
}
}
if (res == FR_OK) {
res = dir_register(&dj); /* Register the object to the directoy */
res = dir_register(&dj); /* Register the object to the directory */
}
if (res == FR_OK) {
#if _FS_EXFAT