From 43622317c67f031f9b2e33c3320f2c89484bd506 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20C=C5=93ur?= <coeur@gmx.fr>
Date: Thu, 11 Jul 2019 15:42:30 +0800
Subject: [PATCH] FmpDevicePkg: Fix various typos
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix one typo in FmpDevicePkg.

Signed-off-by: Cœur <coeur@gmx.fr>
Reviewed-by: Liming Gao <liming.gao@intel.com>
---
 FmpDevicePkg/FmpDxe/DetectTestKey.c         | 2 +-
 FmpDevicePkg/Include/Library/FmpDeviceLib.h | 2 +-
 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.