diff options
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePath.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h b/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h index e4e37f4bb3..e7d3ad2621 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePath.h @@ -135,7 +135,7 @@ typedef struct { UINT16 LoginOption;
UINT64 Lun;
UINT16 TargetPortalGroupTag;
- CHAR8 iSCSITargetName[1];
+ CHAR8 TargetName[1];
} ISCSI_DEVICE_PATH_WITH_NAME;
typedef struct {
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c index 0c1f6a61a7..bf64cdad1f 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c @@ -2319,7 +2319,7 @@ DevPathFromTextiSCSI ( (UINT16) (sizeof (ISCSI_DEVICE_PATH_WITH_NAME) + StrLen (NameStr))
);
- AsciiStr = ISCSIDevPath->iSCSITargetName;
+ AsciiStr = ISCSIDevPath->TargetName;
StrToAscii (NameStr, &AsciiStr);
ISCSIDevPath->TargetPortalGroupTag = (UINT16) Strtoi (PortalGroupStr);
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c index afa982afc4..7e2749da92 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c @@ -1291,7 +1291,7 @@ DevPathToTextiSCSI ( CatPrint (
Str,
L"iSCSI(%a,0x%x,0x%lx,",
- ISCSIDevPath->iSCSITargetName,
+ ISCSIDevPath->TargetName,
(UINTN) ISCSIDevPath->TargetPortalGroupTag,
ISCSIDevPath->Lun
);
|