summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/EfiRom
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2016-10-19 15:01:07 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-10-20 11:18:27 +0800
commit99e55970ff0778ad46177a9c0fafb0766d4e6837 (patch)
treea23fa791536674301c98e6b15f1f66e56e3cf309 /BaseTools/Source/C/EfiRom
parentf17c0ab617c86210d1b3de4ec493ee2f2ed3e1e6 (diff)
downloadedk2-99e55970ff0778ad46177a9c0fafb0766d4e6837.zip
edk2-99e55970ff0778ad46177a9c0fafb0766d4e6837.tar.gz
edk2-99e55970ff0778ad46177a9c0fafb0766d4e6837.tar.bz2
BaseTools: Fix typos in comments and variables
- Pacakge -> Package - outputed -> outputted - successull -> successfully - Libary -> Library - Pointion -> Position - paramter -> parameter Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/C/EfiRom')
-rw-r--r--BaseTools/Source/C/EfiRom/EfiRom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c
index 7a57912..e2bd289 100644
--- a/BaseTools/Source/C/EfiRom/EfiRom.c
+++ b/BaseTools/Source/C/EfiRom/EfiRom.c
@@ -120,7 +120,7 @@ Returns:
for (FList = mOptions.FileList; FList != NULL; FList = FList->Next) {
if (stricmp (mOptions.OutFileName, FList->FileName) == 0) {
Status = STATUS_ERROR;
- Error (NULL, 0, 1002, "Invalid input paramter", "Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName);
+ Error (NULL, 0, 1002, "Invalid input parameter", "Input and output file names must be different - %s = %s.", FList->FileName, mOptions.OutFileName);
goto BailOut;
}
}
@@ -168,7 +168,7 @@ Returns:
// Check total size
//
if (TotalSize > MAX_OPTION_ROM_SIZE) {
- Error (NULL, 0, 2000, "Invalid paramter", "Option ROM image size exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
+ Error (NULL, 0, 2000, "Invalid parameter", "Option ROM image size exceeds limit of 0x%X bytes.", MAX_OPTION_ROM_SIZE);
Status = STATUS_ERROR;
}