浏览代码

ShellPkg: Fix spelling mistake for occurred

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Michael D Kinney 3 年之前
父节点
当前提交
a048af3c90
共有 23 个文件被更改,包括 93 次插入93 次删除
  1. 2 2
      ShellPkg/Include/Library/ShellLib.h
  2. 2 2
      ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
  3. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
  4. 17 17
      ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
  5. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h
  6. 4 4
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c
  7. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h
  8. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c
  9. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h
  10. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c
  11. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h
  12. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
  13. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h
  14. 24 24
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
  15. 4 4
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h
  16. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c
  17. 3 3
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
  18. 4 4
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c
  19. 2 2
      ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h
  20. 1 1
      ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c
  21. 1 1
      ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c
  22. 1 1
      ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
  23. 3 3
      ShellPkg/Library/UefiShellLib/UefiShellLib.c

+ 2 - 2
ShellPkg/Include/Library/ShellLib.h

@@ -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
@@ -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

+ 2 - 2
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c

@@ -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(
@@ -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(

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c

@@ -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 *
@@ -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 *

+ 17 - 17
ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c

@@ -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
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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 (
@@ -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

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h

@@ -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 (
@@ -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 (
@@ -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

+ 4 - 4
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c

@@ -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 (
@@ -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
@@ -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
@@ -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

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h

@@ -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 (
@@ -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
@@ -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

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c

@@ -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 (
@@ -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 (

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h

@@ -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 (
@@ -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 (

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c

@@ -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 (
@@ -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
@@ -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

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h

@@ -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 (
@@ -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
@@ -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

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c

@@ -131,7 +131,7 @@ HFileImageSetFileName (
 
   @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
 HFileImageRead (
@@ -244,7 +244,7 @@ HFileImageRead (
 
   @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
 HFileImageSave (

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h

@@ -52,7 +52,7 @@ HFileImageBackup (
 
   @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
 HFileImageRead (
@@ -67,7 +67,7 @@ HFileImageRead (
 
   @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
 HFileImageSave (

+ 24 - 24
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c

@@ -243,8 +243,8 @@ HMainCommandGoToOffset (
   save to another file name.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandSaveBuffer (
@@ -540,8 +540,8 @@ HMainCommandSaveBuffer (
   Load a disk buffer editor.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandSelectStart (
@@ -578,8 +578,8 @@ HMainCommandSelectStart (
   Load a disk buffer editor.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandSelectEnd (
@@ -616,8 +616,8 @@ HMainCommandSelectEnd (
   Cut current line to clipboard.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandCut (
@@ -688,8 +688,8 @@ HMainCommandCut (
   Paste line to file buffer.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandPaste (
@@ -748,8 +748,8 @@ HMainCommandPaste (
   Exit editor.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandExit (
@@ -841,8 +841,8 @@ HMainCommandExit (
   Load a file from disk to editor.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainCommandOpenFile (
@@ -1074,8 +1074,8 @@ HMainCommandOpenFile (
   Load a disk buffer editor.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
   @retval EFI_NOT_FOUND           The disk was not found.
 **/
 EFI_STATUS
@@ -1319,8 +1319,8 @@ HMainCommandOpenDisk (
   Load memory content to editor
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
   @retval EFI_NOT_FOUND           The disk was not found.
 **/
 EFI_STATUS
@@ -1623,7 +1623,7 @@ CONST EDITOR_MENU_ITEM HexEditorMenuItems[] = {
   Init 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
 HMainEditorInit (
@@ -1780,7 +1780,7 @@ HMainEditorInit (
   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
 HMainEditorCleanup (
@@ -1932,8 +1932,8 @@ HMainEditorRefresh (
   @param[out] BeforeLeftButtonDown  helps with selections.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
   @retval EFI_NOT_FOUND           The disk was not found.
 **/
 EFI_STATUS
@@ -2091,8 +2091,8 @@ HMainEditorHandleMouseInput (
   Handle user key input. will route it to other components handle function.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainEditorKeyInput (

+ 4 - 4
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h

@@ -18,7 +18,7 @@
   Init 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
 HMainEditorInit (
@@ -29,7 +29,7 @@ HMainEditorInit (
   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
 HMainEditorCleanup (
@@ -50,8 +50,8 @@ HMainEditorRefresh (
   Handle user key input. will route it to other components handle function.
 
   @retval EFI_SUCCESS             The operation was successful.
-  @retval EFI_OUT_OF_RESOURCES    A memory allocation occured.
-  @retval EFI_LOAD_ERROR          A load error occured.
+  @retval EFI_OUT_OF_RESOURCES    A memory allocation occurred.
+  @retval EFI_LOAD_ERROR          A load error occurred.
 **/
 EFI_STATUS
 HMainEditorKeyInput (

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c

@@ -34,7 +34,7 @@ HEFI_EDITOR_MEM_IMAGE             HMemImageConst = {
   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
 HMemImageInit (
@@ -106,7 +106,7 @@ HMemImageSetMemOffsetSize (
   @param[in] Size     The size.
   @param[in] Recover  if is for recover, no information print.
 
-  @retval EFI_LOAD_ERROR        A load error occured.
+  @retval EFI_LOAD_ERROR        A load error occurred.
   @retval EFI_SUCCESS           The operation was successful.
   @retval EFI_OUT_OF_RESOURCES  A memory allocation failed.
 **/
@@ -217,7 +217,7 @@ HMemImageRead (
   @param[in] Offset   The offset.
   @param[in] Size     The size.
 
-  @retval EFI_LOAD_ERROR        A load error occured.
+  @retval EFI_LOAD_ERROR        A load error occurred.
   @retval EFI_SUCCESS           The operation was successful.
   @retval EFI_OUT_OF_RESOURCES  A memory allocation failed.
 **/

+ 3 - 3
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h

@@ -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
 HMemImageInit (
@@ -56,7 +56,7 @@ HMemImageSetMemOffsetSize (
   @param[in] Size     The size.
   @param[in] Recover  if is for recover, no information print.
 
-  @retval EFI_LOAD_ERROR        A load error occured.
+  @retval EFI_LOAD_ERROR        A load error occurred.
   @retval EFI_SUCCESS           The operation was successful.
   @retval EFI_OUT_OF_RESOURCES  A memory allocation failed.
 **/
@@ -73,7 +73,7 @@ HMemImageRead (
   @param[in] Offset   The offset.
   @param[in] Size     The size.
 
-  @retval EFI_LOAD_ERROR        A load error occured.
+  @retval EFI_LOAD_ERROR        A load error occurred.
   @retval EFI_SUCCESS           The operation was successful.
   @retval EFI_OUT_OF_RESOURCES  A memory allocation failed.
 **/

+ 4 - 4
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c

@@ -33,7 +33,7 @@ HLineFree (
 
   @param[in] Count      The line number to advance.
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after advance.
 **/
 HEFI_EDITOR_LINE *
@@ -68,7 +68,7 @@ HLineAdvance (
 
   @param[in] Count    The line number to retreat.
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after retreat.
 **/
 HEFI_EDITOR_LINE *
@@ -105,7 +105,7 @@ HLineRetreat (
                             >0 : advance
                             <0: retreat
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after move.
 **/
 HEFI_EDITOR_LINE *
@@ -138,7 +138,7 @@ HMoveLine (
                           >0 : advance
                           <0: retreat
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after move.
 **/
 HEFI_EDITOR_LINE *

+ 2 - 2
ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h

@@ -18,7 +18,7 @@
                             >0 : advance
                             <0: retreat
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after move.
 **/
 HEFI_EDITOR_LINE *
@@ -33,7 +33,7 @@ HMoveLine (
                           >0 : advance
                           <0: retreat
 
-  @retval NULL An error occured.
+  @retval NULL An error occurred.
   @return A pointer to the line after move.
 **/
 HEFI_EDITOR_LINE *

+ 1 - 1
ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c

@@ -22,7 +22,7 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
 
   @param[in] TheHandle      The handle to get the device path for.
 
-  @retval NULL    An error occured.
+  @retval NULL    An error occurred.
   @return         A pointer to the driver path as a string.  The callee must
                   free this memory.
 **/

+ 1 - 1
ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c

@@ -57,7 +57,7 @@ IsDirectoryEmpty (
   @retval SHELL_SUCCESS       The operation was successful.
   @retval SHELL_ACCESS_DENIED A file was read only.
   @retval SHELL_ABORTED       The abort message was received.
-  @retval SHELL_DEVICE_ERROR  A device error occured reading this Node.
+  @retval SHELL_DEVICE_ERROR  A device error occurred reading this Node.
 **/
 SHELL_STATUS
 CascadeDelete(

+ 1 - 1
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h

@@ -351,7 +351,7 @@ CopySingleFile(
   @retval SHELL_SUCCESS       The operation was successful.
   @retval SHELL_ACCESS_DENIED A file was read only.
   @retval SHELL_ABORTED       The abort message was received.
-  @retval SHELL_DEVICE_ERROR  A device error occured reading this Node.
+  @retval SHELL_DEVICE_ERROR  A device error occurred reading this Node.
 **/
 SHELL_STATUS
 CascadeDelete(

+ 3 - 3
ShellPkg/Library/UefiShellLib/UefiShellLib.c

@@ -3181,7 +3181,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
@@ -3810,7 +3810,7 @@ InternalShellHexCharToUintn (
 
   @retval EFI_SUCCESS             The conversion was successful.
   @retval EFI_INVALID_PARAMETER   A parameter was NULL or invalid.
-  @retval EFI_DEVICE_ERROR        An overflow occured.
+  @retval EFI_DEVICE_ERROR        An overflow occurred.
 **/
 EFI_STATUS
 InternalShellStrHexToUint64 (
@@ -3911,7 +3911,7 @@ InternalShellStrHexToUint64 (
 
   @retval EFI_SUCCESS             The conversion was successful.
   @retval EFI_INVALID_PARAMETER   A parameter was NULL or invalid.
-  @retval EFI_DEVICE_ERROR        An overflow occured.
+  @retval EFI_DEVICE_ERROR        An overflow occurred.
 **/
 EFI_STATUS
 InternalShellStrDecimalToUint64 (