diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-13 06:28:15 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-13 06:28:15 +0000 |
commit | 8f0dd97eab98969bb26825852cb498f22daa4efd (patch) | |
tree | 48842ccf09d60f8e629ce35b93c274d027059541 /MdePkg/Library/UefiDevicePathLib | |
parent | 89c18a1e9e6c6c5da7a377eff3578781a3ebcb0e (diff) | |
download | edk2-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.c | 6 |
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));
}
/**
|