Skip to content

Commit

Permalink
ShellPkg: Fix spelling mistake for occurred
Browse files Browse the repository at this point in the history
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361

Cc: Ray Ni <[email protected]>
Cc: Zhichao Gao <[email protected]>
Signed-off-by: Michael D Kinney <[email protected]>
Reviewed-by: Guomin Jiang <[email protected]>
Reviewed-by: Zhichao Gao <[email protected]>
  • Loading branch information
mdkinney authored and mergify[bot] committed Aug 19, 2020
1 parent 53b40c9 commit a048af3
Show file tree
Hide file tree
Showing 23 changed files with 93 additions and 93 deletions.
4 changes: 2 additions & 2 deletions ShellPkg/Include/Library/ShellLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ ShellIsFileInPath(
@param[in] String String representation of a number.
@return The unsigned integer result of the conversion.
@retval (UINTN)(-1) An error occured.
@retval (UINTN)(-1) An error occurred.
**/
UINTN
EFIAPI
Expand All @@ -1051,7 +1051,7 @@ ShellStrToUintn(
@param[in] String String representation of a number.
@return The unsigned integer result of the conversion.
@retval (UINTN)(-1) An error occured.
@retval (UINTN)(-1) An error occurred.
**/
UINTN
EFIAPI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ typedef struct {
@param[in] Target The target of the operation.
@retval EFI_SUCCESS The data was sucessfully updated.
@retval other A error occured.
@retval other A error occurred.
**/
EFI_STATUS
UpdateOptionalData(
Expand Down Expand Up @@ -170,7 +170,7 @@ UpdateOptionalData(
@param[in] BootIndex The boot option index to CRC.
@retval EFI_SUCCESS The CRC was sucessfully returned.
@retval other A error occured.
@retval other A error occurred.
**/
EFI_STATUS
GetBootOptionCrc(
Expand Down
4 changes: 2 additions & 2 deletions ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ InternalEditorMiscLineRetreat (
>0 : advance
<0 : retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return The line after advance/retreat.
**/
EFI_EDITOR_LINE *
Expand Down Expand Up @@ -2609,7 +2609,7 @@ RightCurrentScreen (
>0 : advance
<0: retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return The line after advance/retreat.
**/
EFI_EDITOR_LINE *
Expand Down
34 changes: 17 additions & 17 deletions ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ EFI_EDITOR_GLOBAL_EDITOR MainEditor;
Load a file from disk to editor
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
Expand Down Expand Up @@ -74,7 +74,7 @@ MainCommandGotoLine (
@retval EFI_SUCCESS The file was saved correctly.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A file access error occured.
@retval EFI_LOAD_ERROR A file access error occurred.
**/
EFI_STATUS
MainCommandSaveFile (
Expand All @@ -96,7 +96,7 @@ MainCommandDisplayHelp (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandExit (
Expand All @@ -108,7 +108,7 @@ MainCommandExit (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandSearch (
Expand All @@ -120,7 +120,7 @@ MainCommandSearch (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandSearchReplace (
Expand All @@ -132,7 +132,7 @@ MainCommandSearchReplace (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandCutLine (
Expand All @@ -144,7 +144,7 @@ MainCommandCutLine (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandPasteLine (
Expand Down Expand Up @@ -277,7 +277,7 @@ EDITOR_MENU_ITEM MainMenuItems[] = {
Load a file from disk to editor
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
Expand Down Expand Up @@ -465,7 +465,7 @@ MainCommandSwitchFileType (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandCutLine (
Expand Down Expand Up @@ -503,7 +503,7 @@ MainCommandCutLine (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandPasteLine (
Expand Down Expand Up @@ -535,7 +535,7 @@ MainCommandPasteLine (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandSearch (
Expand Down Expand Up @@ -676,7 +676,7 @@ MainCommandSearch (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandSearchReplace (
Expand Down Expand Up @@ -979,7 +979,7 @@ MainCommandSearchReplace (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainCommandExit (
Expand Down Expand Up @@ -1133,7 +1133,7 @@ MainCommandGotoLine (
@retval EFI_SUCCESS The file was saved correctly.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A file access error occured.
@retval EFI_LOAD_ERROR A file access error occurred.
**/
EFI_STATUS
MainCommandSaveFile (
Expand Down Expand Up @@ -1439,7 +1439,7 @@ EFI_EDITOR_GLOBAL_EDITOR MainEditorConst = {
The initialization function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainEditorInit (
Expand Down Expand Up @@ -1585,7 +1585,7 @@ MainEditorInit (
The cleanup function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainEditorCleanup (
Expand Down Expand Up @@ -1823,7 +1823,7 @@ MainEditorHandleMouseInput (
Handle user key input. This routes to other functions for the actions.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
The initialization function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainEditorInit (
Expand All @@ -26,7 +26,7 @@ MainEditorInit (
The cleanup function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
MainEditorCleanup (
Expand All @@ -45,7 +45,7 @@ MainEditorRefresh (
Handle user key input. This routes to other functions for the actions.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ BOOLEAN HBufferImageMouseNeedRefresh;
Initialization function for HBufferImage
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HBufferImageInit (
Expand Down Expand Up @@ -730,7 +730,7 @@ HBufferImageRestorePosition (
Refresh function for HBufferImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A Load error occured.
@retval EFI_LOAD_ERROR A Load error occurred.
**/
EFI_STATUS
Expand Down Expand Up @@ -1314,7 +1314,7 @@ HBufferImageDoBackspace (
@param[in] Char The input char.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
Expand Down Expand Up @@ -2376,7 +2376,7 @@ HBufferImageAdjustMousePosition (
INS
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A Memory allocation failed.
**/
EFI_STATUS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Initialization function for HBufferImage
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HBufferImageInit (
Expand All @@ -37,7 +37,7 @@ HBufferImageCleanup (
Refresh function for HBufferImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A Load error occured.
@retval EFI_LOAD_ERROR A Load error occurred.
**/
EFI_STATUS
Expand All @@ -57,7 +57,7 @@ HBufferImageRefresh (
INS
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A Memory allocation failed.
**/
EFI_STATUS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HEFI_EDITOR_CLIPBOARD HClipBoardConst = {
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardInit (
Expand All @@ -46,7 +46,7 @@ HClipBoardInit (
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardCleanup (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Initialization function for HDiskImage
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardInit (
Expand All @@ -27,7 +27,7 @@ HClipBoardInit (
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardCleanup (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ HEFI_EDITOR_DISK_IMAGE HDiskImageConst = {
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HDiskImageInit (
Expand Down Expand Up @@ -147,7 +147,7 @@ HDiskImageSetDiskNameOffsetSize (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
Expand Down Expand Up @@ -319,7 +319,7 @@ HDiskImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HDiskImageInit (
Expand Down Expand Up @@ -55,7 +55,7 @@ HDiskImageBackup (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
Expand All @@ -76,7 +76,7 @@ HDiskImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
Expand Down
Loading

0 comments on commit a048af3

Please sign in to comment.