mirror of https://github.com/acidanthera/audk.git
Fix a bug in UefiDevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1084 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
893cea1463
commit
c4898a017e
|
@ -396,6 +396,7 @@ CreateDeviceNode (
|
|||
if (DevicePath != NULL) {
|
||||
DevicePath->Type = NodeType;
|
||||
DevicePath->SubType = NodeSubType;
|
||||
SetDevicePathNodeLength (DevicePath, NodeLength);
|
||||
}
|
||||
|
||||
return DevicePath;
|
||||
|
|
Loading…
Reference in New Issue