summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiDevicePathLib
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/UefiDevicePathLib
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/UefiDevicePathLib')
-rw-r--r--MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
index b2602e2a58..15b16a237a 100644
--- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
+++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c
@@ -222,12 +222,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));
}
/**