mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-07 08:38:45 +00:00
Correct some occurrences of "occured"
This commit is contained in:
parent
2dda9fefc3
commit
ceebaece42
8 changed files with 8 additions and 8 deletions
|
@ -3304,7 +3304,7 @@ static FRESULT find_volume ( /* FR_OK(0): successful, !=0: an error occurred */
|
||||||
}
|
}
|
||||||
if (fmt == 4) {
|
if (fmt == 4) {
|
||||||
EFSPRINTF("BRNL");
|
EFSPRINTF("BRNL");
|
||||||
return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
|
return FR_DISK_ERR; /* An error occured in the disk I/O layer */
|
||||||
}
|
}
|
||||||
if (fmt >= 2) {
|
if (fmt >= 2) {
|
||||||
EFSPRINTF("NOFAT");
|
EFSPRINTF("NOFAT");
|
||||||
|
|
|
@ -3441,7 +3441,7 @@ static FRESULT mount_volume ( /* FR_OK(0): successful, !=0: an error occurred
|
||||||
|
|
||||||
/* Find an FAT volume on the drive */
|
/* Find an FAT volume on the drive */
|
||||||
fmt = find_volume(fs, LD2PT(vol));
|
fmt = find_volume(fs, LD2PT(vol));
|
||||||
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
|
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
|
||||||
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
||||||
bsect = fs->winsect; /* Volume location */
|
bsect = fs->winsect; /* Volume location */
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
ldr sp, =_regs
|
ldr sp, =_regs
|
||||||
stmia sp!, {r0-r7}
|
stmia sp!, {r0-r7}
|
||||||
|
|
||||||
/* Adjust lr to make it point to the location where the exception occurred. */
|
/* Adjust lr to make it point to the location where the exception occured. */
|
||||||
mrs r1, spsr
|
mrs r1, spsr
|
||||||
tst r1, #0x20
|
tst r1, #0x20
|
||||||
subeq lr, lr, #\lr_arm_displ
|
subeq lr, lr, #\lr_arm_displ
|
||||||
|
|
|
@ -3284,7 +3284,7 @@ static FRESULT find_volume ( /* FR_OK(0): successful, !=0: an error occurred */
|
||||||
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
||||||
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
||||||
}
|
}
|
||||||
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
|
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
|
||||||
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
||||||
|
|
||||||
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
ldr sp, =_regs
|
ldr sp, =_regs
|
||||||
stmia sp!, {r0-r7}
|
stmia sp!, {r0-r7}
|
||||||
|
|
||||||
/* Adjust lr to make it point to the location where the exception occurred. */
|
/* Adjust lr to make it point to the location where the exception occured. */
|
||||||
mrs r1, spsr
|
mrs r1, spsr
|
||||||
tst r1, #0x20
|
tst r1, #0x20
|
||||||
subeq lr, lr, #\lr_arm_displ
|
subeq lr, lr, #\lr_arm_displ
|
||||||
|
|
|
@ -3284,7 +3284,7 @@ static FRESULT find_volume ( /* FR_OK(0): successful, !=0: an error occurred */
|
||||||
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
||||||
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
||||||
}
|
}
|
||||||
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
|
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
|
||||||
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
||||||
|
|
||||||
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
ldr sp, =_regs
|
ldr sp, =_regs
|
||||||
stmia sp!, {r0-r7}
|
stmia sp!, {r0-r7}
|
||||||
|
|
||||||
/* Adjust lr to make it point to the location where the exception occurred. */
|
/* Adjust lr to make it point to the location where the exception occured. */
|
||||||
mrs r1, spsr
|
mrs r1, spsr
|
||||||
tst r1, #0x20
|
tst r1, #0x20
|
||||||
subeq lr, lr, #\lr_arm_displ
|
subeq lr, lr, #\lr_arm_displ
|
||||||
|
|
|
@ -3284,7 +3284,7 @@ static FRESULT find_volume ( /* FR_OK(0): successful, !=0: an error occurred */
|
||||||
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
|
||||||
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
|
||||||
}
|
}
|
||||||
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
|
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
|
||||||
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
|
||||||
|
|
||||||
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
/* An FAT volume is found (bsect). Following code initializes the filesystem object */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue