summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Cœur <coeur@gmx.fr>2019-07-11 15:42:30 +0800
committerLiming Gao <liming.gao@intel.com>2019-07-12 21:09:36 +0800
commit43622317c67f031f9b2e33c3320f2c89484bd506 (patch)
tree13ba243a99a035312db03dc1dfdf1bb34a32e4f3
parenta79841a0244ab2afd1efc3b9d4cc91e27fa90d71 (diff)
downloadedk2-43622317c67f031f9b2e33c3320f2c89484bd506.tar.gz
edk2-43622317c67f031f9b2e33c3320f2c89484bd506.tar.bz2
edk2-43622317c67f031f9b2e33c3320f2c89484bd506.zip
FmpDevicePkg: Fix various typos
Fix one typo in FmpDevicePkg. Signed-off-by: Cœur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--FmpDevicePkg/FmpDxe/DetectTestKey.c2
-rw-r--r--FmpDevicePkg/Include/Library/FmpDeviceLib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/FmpDevicePkg/FmpDxe/DetectTestKey.c b/FmpDevicePkg/FmpDxe/DetectTestKey.c
index 52e780dac8..e697a08489 100644
--- a/FmpDevicePkg/FmpDxe/DetectTestKey.c
+++ b/FmpDevicePkg/FmpDxe/DetectTestKey.c
@@ -139,7 +139,7 @@ DetectTestKey (
}
//
- // If test key detected or an error occured checking for the test key, then
+ // If test key detected or an error occurred checking for the test key, then
// set PcdTestKeyUsed to TRUE.
//
if (TestKeyUsed) {
diff --git a/FmpDevicePkg/Include/Library/FmpDeviceLib.h b/FmpDevicePkg/Include/Library/FmpDeviceLib.h
index 708ebca8c5..c435b23030 100644
--- a/FmpDevicePkg/Include/Library/FmpDeviceLib.h
+++ b/FmpDevicePkg/Include/Library/FmpDeviceLib.h
@@ -73,7 +73,7 @@ RegisterFmpInstaller (
@retval EFI_INVALID_PARAMETER Size is NULL.
@retval EFI_UNSUPPORTED The firmware device does not support reporting
the size of the currently stored firmware image.
- @retval EFI_DEVICE_ERROR An error occured attempting to determine the
+ @retval EFI_DEVICE_ERROR An error occurred attempting to determine the
size of the firmware image currently stored in
in the firmware device.