summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/DevicePathLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Library/DevicePathLib.h')
-rw-r--r--MdePkg/Include/Library/DevicePathLib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/DevicePathLib.h b/MdePkg/Include/Library/DevicePathLib.h
index b446f67579..244e351400 100644
--- a/MdePkg/Include/Library/DevicePathLib.h
+++ b/MdePkg/Include/Library/DevicePathLib.h
@@ -84,8 +84,9 @@ AppendDevicePath (
This function creates a new device path by appending a copy of the device node specified by
DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
The end-of-device-path device node is moved after the end of the appended device node.
- If DeviceNode is NULL then a copy of DevicePath is returned.
If DevicePathNode is NULL then a copy of DevicePath is returned.
+ If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device
+ node is returned.
If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node
is returned.
If there is not enough memory to allocate space for the new device path, then NULL is returned.