mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
06bab62254
commit
047c644982
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue