From 6a3f4ef96dfd99ba62205dacc2938c436d279fa3 Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 23 Jan 2009 07:18:19 +0000 Subject: [PATCH] DuplicateDevicePath() function use wrong comment same as AppendDevicePath() function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7352 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c | 2 +- .../UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c index f4c2c36bbb..43966fc239 100644 --- a/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c @@ -82,7 +82,7 @@ GetDevicePathSize ( } /** - Creates a new device path by appending a second device path to a first device path. + Creates a new copy of an existing device path. This function allocates space for a new copy of the device path specified by DevicePath. If DevicePath is NULL, then NULL is returned. If the memory is successfully allocated, then the diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c index a1f0d31dbe..5dba17b2aa 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c @@ -82,7 +82,7 @@ GetDevicePathSize ( } /** - Creates a new device path by appending a second device path to a first device path. + Creates a new copy of an existing device path. This function allocates space for a new copy of the device path specified by DevicePath. If DevicePath is NULL, then NULL is returned. If the memory is successfully allocated, then the -- 2.39.2