summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-13 06:28:15 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-13 06:28:15 +0000
commit8f0dd97eab98969bb26825852cb498f22daa4efd (patch)
tree48842ccf09d60f8e629ce35b93c274d027059541 /MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
parent89c18a1e9e6c6c5da7a377eff3578781a3ebcb0e (diff)
downloadedk2-platforms-8f0dd97eab98969bb26825852cb498f22daa4efd.tar.xz
Spec checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7521 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c')
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
index 8f2488a3b2..5dd0998762 100644
--- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c
@@ -251,12 +251,12 @@ IsDevicePathEndInstance (
UINT16
SetDevicePathNodeLength (
IN OUT VOID *Node,
- IN UINTN NodeLength
+ IN UINTN Length
)
{
ASSERT (Node != NULL);
- ASSERT (NodeLength < 0x10000);
- return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(NodeLength));
+ ASSERT (Length < 0x10000);
+ return WriteUnaligned16 ((UINT16 *)&((EFI_DEVICE_PATH_PROTOCOL *)(Node))->Length[0], (UINT16)(Length));
}
/**