diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-30 01:55:22 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-30 01:55:22 +0000 |
commit | 184f7d83d71ad76e54cd42f3796024505c7da089 (patch) | |
tree | b454cde0b5b32430abd3e1ffca62e12a858afa38 | |
parent | 201e40668d6d8fb81f2571986255d4df27ea3a5a (diff) | |
download | edk2-184f7d83d71ad76e54cd42f3796024505c7da089.tar.gz edk2-184f7d83d71ad76e54cd42f3796024505c7da089.tar.bz2 edk2-184f7d83d71ad76e54cd42f3796024505c7da089.zip |
Refine the member name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8683 6f19259b-4bc3-4df7-8a09-765794883524
-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
);
|