summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-23 07:18:19 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-23 07:18:19 +0000
commit6a3f4ef96dfd99ba62205dacc2938c436d279fa3 (patch)
tree1665e2f4c625a2b3ffef39a6b1904c73e3d90722
parent6cf3743cebeaf257ba2d25fe7038ef5c7ddf37bb (diff)
downloadedk2-platforms-6a3f4ef96dfd99ba62205dacc2938c436d279fa3.tar.xz
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
-rw-r--r--MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.c2
-rw-r--r--MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c2
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