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:
qhuang8 2006-07-24 10:15:33 +00:00
parent 893cea1463
commit c4898a017e
1 changed files with 1 additions and 0 deletions

View File

@ -396,6 +396,7 @@ CreateDeviceNode (
if (DevicePath != NULL) {
DevicePath->Type = NodeType;
DevicePath->SubType = NodeSubType;
SetDevicePathNodeLength (DevicePath, NodeLength);
}
return DevicePath;