[edk2-devel] [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name

Philippe Mathieu-Daudé via Groups.Io philmd=redhat.com at groups.io
Tue Dec 3 16:15:21 UTC 2019


Correctly write 'Initialized'.

Cc: Jiaxin Wu <jiaxin.wu at intel.com>
Cc: Siyuan Fu <siyuan.fu at intel.com>
Cc: Maciej Rabeda <maciej.rabeda at intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd at redhat.com>
---
 NetworkPkg/HttpBootDxe/HttpBootConfig.h | 2 +-
 NetworkPkg/HttpBootDxe/HttpBootConfig.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.h b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
index ce2116e248b5..84eab425b04f 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfig.h
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.h
@@ -32,7 +32,7 @@ extern   UINT8                            HttpBootConfigVfrBin[];
 
 struct _HTTP_BOOT_FORM_CALLBACK_INFO {
   UINT32                           Signature;
-  BOOLEAN                          Initilized;
+  BOOLEAN                          Initialized;
   EFI_HANDLE                       ChildHandle;
   EFI_DEVICE_PATH_PROTOCOL         *HiiVendorDevicePath;
   EFI_HII_HANDLE                   RegisteredHandle;
diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.c b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
index 245bd49a621a..646c907b1215 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfig.c
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.c
@@ -552,7 +552,7 @@ HttpBootConfigFormInit (
 
   CallbackInfo = &Private->CallbackInfo;
 
-  if (CallbackInfo->Initilized) {
+  if (CallbackInfo->Initialized) {
     return EFI_SUCCESS;
   }
 
@@ -632,7 +632,7 @@ HttpBootConfigFormInit (
     FreePool (MacString);
     FreePool (OldMenuString);
 
-    CallbackInfo->Initilized = TRUE;
+    CallbackInfo->Initialized = TRUE;
     return EFI_SUCCESS;
   }
 
-- 
2.21.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51643): https://edk2.groups.io/g/devel/message/51643
Mute This Topic: https://groups.io/mt/65773989/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list