From f18999b2c874c9ad376a118a802a25cf45d14562 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 6 Nov 2023 18:33:20 +0900 Subject: [PATCH] Fix typo in ff.c occured -> occurred --- lib/fatfs/ff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fatfs/ff.c b/lib/fatfs/ff.c index 348c9eb128..fa9da1b6da 100644 --- a/lib/fatfs/ff.c +++ b/lib/fatfs/ff.c @@ -3060,7 +3060,7 @@ FRESULT find_volume ( /* FR_OK(0): successful, !=0: any error occurred */ fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */ } while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4); } - if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */ + if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */ if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */ /* An FAT volume is found (bsect). Following code initializes the file system object */