From 00b7cc0fe327fcd00d70a8d30f16245cca0c55f2 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Mon, 12 Sep 2016 01:35:39 -0700 Subject: MdePkg: Fix some typing errors in the header files Correct the typos in some header files of MdePkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Huth Reviewed-by: Liming Gao Reviewed-by: Michael Kinney --- MdePkg/Include/Library/BaseLib.h | 2 +- MdePkg/Include/Library/DebugPrintErrorLevelLib.h | 2 +- MdePkg/Include/Library/FileHandleLib.h | 8 ++++---- MdePkg/Include/Library/PeCoffLib.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'MdePkg/Include/Library') diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index 7e085b93a6..6268e6fe46 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -1772,7 +1772,7 @@ PathRemoveLastItem( @param[in] Path The pointer to the string containing the path. - @return Returns Path, otherwise returns NULL to indicate that an error has occured. + @return Returns Path, otherwise returns NULL to indicate that an error has occurred. **/ CHAR16* EFIAPI diff --git a/MdePkg/Include/Library/DebugPrintErrorLevelLib.h b/MdePkg/Include/Library/DebugPrintErrorLevelLib.h index 2b051f4210..5a866d5fca 100644 --- a/MdePkg/Include/Library/DebugPrintErrorLevelLib.h +++ b/MdePkg/Include/Library/DebugPrintErrorLevelLib.h @@ -31,7 +31,7 @@ GetDebugPrintErrorLevel ( @param ErrorLevel Global debug print error level - @retval TRUE The debug print error level mask was sucessfully set. + @retval TRUE The debug print error level mask was successfully set. @retval FALSE The debug print error level mask could not be set. **/ diff --git a/MdePkg/Include/Library/FileHandleLib.h b/MdePkg/Include/Library/FileHandleLib.h index 00706f964d..e94f83e343 100644 --- a/MdePkg/Include/Library/FileHandleLib.h +++ b/MdePkg/Include/Library/FileHandleLib.h @@ -184,9 +184,9 @@ FileHandleDelete ( has the effect of starting the read process of the directory entries over again. @param[in] FileHandle The file handle on which the position is being set. - @param[in] Position The byte position from the begining of the file. + @param[in] Position The byte position from the beginning of the file. - @retval EFI_SUCCESS The operation completed sucessfully. + @retval EFI_SUCCESS The operation completed successfully. @retval EFI_UNSUPPORTED The request for non-zero is not valid on directories. @retval INVALID_PARAMETER One of the parameters has an invalid value. @@ -207,7 +207,7 @@ FileHandleSetPosition ( if FileHandle is a directory. @param[in] FileHandle The open file handle on which to get the position. - @param[out] Position The byte position from begining of file. + @param[out] Position The byte position from beginning of file. @retval EFI_SUCCESS The operation completed successfully. @retval INVALID_PARAMETER One of the parameters has an invalid value. @@ -322,7 +322,7 @@ FileHandleFindNextFile( @param[in] FileHandle The file handle from which size is retrieved. @param[out] Size The pointer to size. - @retval EFI_SUCCESS Operation was completed sucessfully. + @retval EFI_SUCCESS Operation was completed successfully. @retval EFI_DEVICE_ERROR Cannot access the file. @retval EFI_INVALID_PARAMETER FileHandle is NULL. Size is NULL. diff --git a/MdePkg/Include/Library/PeCoffLib.h b/MdePkg/Include/Library/PeCoffLib.h index 9ed6d61be0..5a3f98810a 100644 --- a/MdePkg/Include/Library/PeCoffLib.h +++ b/MdePkg/Include/Library/PeCoffLib.h @@ -337,7 +337,7 @@ PeCoffLoaderImageReadFromMemory ( /** - Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI + Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI runtime. This function reapplies relocation fixups to the PE/COFF image specified by ImageBase -- cgit v1.2.3