From 184f7d83d71ad76e54cd42f3796024505c7da089 Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 30 Jun 2009 01:55:22 +0000 Subject: Refine the member name. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8683 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/DevicePathDxe/DevicePath.h | 2 +- MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c | 2 +- MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg/Universal') 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 ); -- cgit v1.2.3