summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-01-06 01:13:35 +0000
committerHao Wu <hao.a.wu@intel.com>2016-02-24 15:29:32 +0800
commit67031ab4e29e8a53b3a7a5180f86c902c5832e40 (patch)
treed3827292a7be38573c28876909ae1d3e2b7d019a /BaseTools/Source/C
parent19bf0d12f54b5d40efdfe84266b64d2751d6d45e (diff)
downloadedk2-platforms-67031ab4e29e8a53b3a7a5180f86c902c5832e40.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 (cherry picked from commit 64957e357bca8d1f9fec2fabaa7aa9a3a8721f1f)
Diffstat (limited to 'BaseTools/Source/C')
-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) {
//