summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-07-31 17:52:32 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-19 00:54:23 +0000
commita048af3c9073e4b8108e6cf920bbb35574059639 (patch)
treeaa30052bd8ad050cb9780fe2e98375e6bfe9fb45 /ShellPkg
parent53b40c9c6d108e8c0e1500a288638623fee92bca (diff)
downloadedk2-a048af3c9073e4b8108e6cf920bbb35574059639.tar.gz
edk2-a048af3c9073e4b8108e6cf920bbb35574059639.tar.bz2
edk2-a048af3c9073e4b8108e6cf920bbb35574059639.zip
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>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Include/Library/ShellLib.h4
-rw-r--r--ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c34
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c8
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h4
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c48
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h8
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h6
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c8
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h4
-rw-r--r--ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c2
-rw-r--r--ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c2
-rw-r--r--ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h2
-rw-r--r--ShellPkg/Library/UefiShellLib/UefiShellLib.c6
23 files changed, 93 insertions, 93 deletions
diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h
index 1dc41f2cc1..ed9b8f9105 100644
--- a/ShellPkg/Include/Library/ShellLib.h
+++ b/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
diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
index f8bcaebe46..52d90e3c97 100644
--- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
+++ b/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(
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
index c9814e400c..5659ec9810 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.c
+++ b/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 *
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
index df530f1119..a9423e0d10 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h
index 766d7bba40..b22b6587bf 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.h
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c
index 5db40eef4e..a730cc105c 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.c
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h
index 3df22306ca..0599f293ec 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/BufferImage.h
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c
index 6cb42764b6..c2d6c5fa9a 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.c
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h
index 44399cfbb5..6e1e2d42cc 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Clipboard.h
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c
index e31b90b867..771a5c6840 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.c
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h
index e5c6f42e15..d0a78e0a12 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h
+++ b/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
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
index bb324ceafc..4f96cb6cb5 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.c
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h
index 7967144db3..9fb25ac5e9 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
index a00df49d38..9f72da1193 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h
index e1a14a4b46..c77685c175 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.h
+++ b/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 (
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c
index 224fbe7398..5e734f668a 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.c
+++ b/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.
**/
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
index d17d1ee32c..090a3fc775 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MemImage.h
+++ b/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.
**/
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c
index cc11f9e87c..10bf15cbfb 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.c
+++ b/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 *
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h
index d5137ea139..02df65959c 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h
+++ b/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 *
diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c
index 27cd278cf0..99a7b0c8cd 100644
--- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c
+++ b/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.
**/
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c
index 59f7eec376..bc85039588 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c
+++ b/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(
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
index 77be6f1a12..426b6490f4 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
+++ b/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(
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
index 9f07a58eb2..c4749941a6 100644
--- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c
+++ b/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 (