summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h2
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index a137b36d15..e5a35ed958 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -611,7 +611,7 @@ typedef struct {
UINT16 LoginOption;
UINT64 Lun;
UINT16 TargetPortalGroupTag;
- CHAR16 iSCSITargetName[1];
+ CHAR16 TargetName[1];
} ISCSI_DEVICE_PATH_WITH_NAME;
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c
index bdb69b4b6f..a0a22cc263 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/DevicePath.c
@@ -964,7 +964,7 @@ DevPathiSCSI (
CatPrint (
Str,
L"iSCSI(%a,%x,%lx,",
- IScsi->iSCSITargetName,
+ IScsi->TargetName,
(UINTN) IScsi->TargetPortalGroupTag,
IScsi->Lun
);