STATUS Status;\r
\r
if (InputFileNum > 1) {\r
- Error (NULL, 0, 2000, "Invalid paramter", "more than one input file specified");\r
+ Error (NULL, 0, 2000, "Invalid parameter", "more than one input file specified");\r
return STATUS_ERROR;\r
} else if (InputFileNum < 1) {\r
- Error (NULL, 0, 2000, "Invalid paramter", "no input file specified");\r
+ Error (NULL, 0, 2000, "Invalid parameter", "no input file specified");\r
return STATUS_ERROR;\r
}\r
//\r
// Size must fit in 3 bytes\r
//\r
//if (TotalLength >= MAX_SECTION_SIZE) {\r
- // Error (NULL, 0, 2000, "Invalid paramter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);\r
+ // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);\r
// goto Done;\r
//}\r
HeaderLength = sizeof (EFI_COMMON_SECTION_HEADER);\r
UINT32 HeaderSize;\r
\r
if (InputFileNum < 1) {\r
- Error (NULL, 0, 2000, "Invalid paramter", "must specify at least one input file");\r
+ Error (NULL, 0, 2000, "Invalid parameter", "must specify at least one input file");\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
if (BufferLength == NULL) {\r
- Error (NULL, 0, 2000, "Invalid paramter", "BufferLength can't be NULL");\r
+ Error (NULL, 0, 2000, "Invalid parameter", "BufferLength can't be NULL");\r
return EFI_INVALID_PARAMETER;\r
}\r
\r
break;\r
\r
default:\r
- Error (NULL, 0, 2000, "Invalid paramter", "unknown compression type");\r
+ Error (NULL, 0, 2000, "Invalid parameter", "unknown compression type");\r
free (FileBuffer);\r
return EFI_ABORTED;\r
}\r
"the original section size is %d bytes and the compressed section size is %u bytes", (unsigned) InputLength, (unsigned) CompressedLength);\r
\r
//if (TotalLength >= MAX_SECTION_SIZE) {\r
- // Error (NULL, 0, 2000, "Invalid paramter", "The size of all files exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);\r
+ // Error (NULL, 0, 2000, "Invalid parameter", "The size of all files exceeds section size limit(%uM).", MAX_SECTION_SIZE>>20);\r
// if (FileBuffer != NULL) {\r
// free (FileBuffer);\r
// }\r