From 64957e357bca8d1f9fec2fabaa7aa9a3a8721f1f Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Wed, 6 Jan 2016 01:13:35 +0000 Subject: BaseTools: Fix 'caculate' typos Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19604 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/C/GenBootSector/GenBootSector.c | 2 +- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'BaseTools') diff --git a/BaseTools/Source/C/GenBootSector/GenBootSector.c b/BaseTools/Source/C/GenBootSector/GenBootSector.c index 40cb19fb59..c218548a4c 100644 --- a/BaseTools/Source/C/GenBootSector/GenBootSector.c +++ b/BaseTools/Source/C/GenBootSector/GenBootSector.c @@ -278,7 +278,7 @@ GetBootSectorOffset ( Description: Get the offset of boot sector. For non-MBR disk, offset is just 0 - for disk with MBR, offset needs to be caculated by parsing MBR + for disk with MBR, offset needs to be calculated by parsing MBR NOTE: if no one is active, we will patch MBR to select first partition as active. diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib.c b/BaseTools/Source/C/GenFv/GenFvInternalLib.c index 10bb88b0a8..6ab8a24d4e 100644 --- a/BaseTools/Source/C/GenFv/GenFvInternalLib.c +++ b/BaseTools/Source/C/GenFv/GenFvInternalLib.c @@ -2787,7 +2787,7 @@ Returns: } // - // Caculate the required sizes for all FFS files. + // Calculate the required sizes for all FFS files. // CurrentOffset = sizeof (EFI_FIRMWARE_VOLUME_HEADER); @@ -2904,7 +2904,7 @@ Returns: } } CurrentOffset += VtfFileSize; - 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); + 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); if (FvInfoPtr->Size == 0) { // -- cgit v1.2.3