summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-11-20 10:19:46 +1100
committerChris Johns <chrisj@rtems.org>2014-11-20 10:19:46 +1100
commit2ae58c695fc965f5f2f203907d38ed0aa183f1de (patch)
tree48f0e9bc10e5e237762857a287856a7714161963
parentlibdl: Fix possible 16-bit overflow (Coverity 1255339) refs #2192. (diff)
downloadrtems-2ae58c695fc965f5f2f203907d38ed0aa183f1de.tar.bz2
libdl: Update the comments.
See refs #2191.
-rw-r--r--cpukit/libdl/rtl-allocator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c
index d5cc4435db..988094060f 100644
--- a/cpukit/libdl/rtl-allocator.c
+++ b/cpukit/libdl/rtl-allocator.c
@@ -53,7 +53,8 @@ rtems_rtl_alloc_new (rtems_rtl_alloc_tag_t tag, size_t size, bool zero)
void* address = NULL;
/*
- * Obtain memory from the allocator.
+ * Obtain memory from the allocator. The address field is set by the
+ * allocator.
*/
if (rtl)
rtl->allocator.allocator (true, tag, &address, size);