summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-01-06 01:13:35 +0000
committerhwu1225 <hwu1225@Edk2>2016-01-06 01:13:35 +0000
commit64957e357bca8d1f9fec2fabaa7aa9a3a8721f1f (patch)
treedff96a9c1eea5f05f537490c194af5f7f4044f80 /BaseTools
parente90a0ee8a4c04117668edaeaf57d3db56a71fc11 (diff)
downloadedk2-platforms-64957e357bca8d1f9fec2fabaa7aa9a3a8721f1f.tar.xz
BaseTools: Fix 'caculate' typos
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19604 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/C/GenBootSector/GenBootSector.c2
-rw-r--r--BaseTools/Source/C/GenFv/GenFvInternalLib.c4
2 files changed, 3 insertions, 3 deletions
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) {
//