diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-21 08:53:18 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-21 08:53:18 +0000 |
commit | 047c644982db181bae23a28a735bfed97dc4a677 (patch) | |
tree | 9d793ab28b94d8a6003b361e0b1433c4a0fb1362 | |
parent | 06bab62254fa032387f3ffd8d65fc31e32d22c0d (diff) | |
download | edk2-047c644982db181bae23a28a735bfed97dc4a677.zip edk2-047c644982db181bae23a28a735bfed97dc4a677.tar.gz edk2-047c644982db181bae23a28a735bfed97dc4a677.tar.bz2 |
Fix an issue that the Target Name is supposed to an Ascii string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4742 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c index 7055c74..88994c2 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c @@ -2080,7 +2080,7 @@ DevPathFromTextiSCSI ( iSCSI = (ISCSI_DEVICE_PATH_WITH_NAME *) CreateDeviceNode (
MESSAGING_DEVICE_PATH,
MSG_ISCSI_DP,
- (UINT16) (sizeof (ISCSI_DEVICE_PATH_WITH_NAME) + StrLen (NameStr) * 2)
+ (UINT16) (sizeof (ISCSI_DEVICE_PATH_WITH_NAME) + StrLen (NameStr))
);
AsciiStr = iSCSI->iSCSITargetName;
|