Description:\r
Get the offset of boot sector.\r
For non-MBR disk, offset is just 0\r
- for disk with MBR, offset needs to be caculated by parsing MBR\r
+ for disk with MBR, offset needs to be calculated by parsing MBR\r
\r
NOTE: if no one is active, we will patch MBR to select first partition as active.\r
\r
}\r
\r
//\r
- // Caculate the required sizes for all FFS files.\r
+ // Calculate the required sizes for all FFS files.\r
//\r
CurrentOffset = sizeof (EFI_FIRMWARE_VOLUME_HEADER);\r
\r
}\r
}\r
CurrentOffset += VtfFileSize;\r
- DebugMsg (NULL, 0, 9, "FvImage size", "The caculated fv image size is 0x%x and the current set fv image size is 0x%x", (unsigned) CurrentOffset, (unsigned) FvInfoPtr->Size);\r
+ DebugMsg (NULL, 0, 9, "FvImage size", "The calculated fv image size is 0x%x and the current set fv image size is 0x%x", (unsigned) CurrentOffset, (unsigned) FvInfoPtr->Size);\r
\r
if (FvInfoPtr->Size == 0) { \r
//\r