summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtl
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-02-18 12:18:50 +1100
committerChris Johns <chrisj@rtems.org>2019-02-20 09:08:38 +1100
commit62b01ab2d237a8e69e8465831716ac356aa0c435 (patch)
tree8fd8094e67c58d5f94d467901427a991040b7432 /cpukit/include/rtems/rtl
parentlibdl/archive: Return false on read failure. (diff)
downloadrtems-62b01ab2d237a8e69e8465831716ac356aa0c435.tar.bz2
libdl/archive: Fix the config file string index while removing tailing white space.
Coverity issue 1442540 Updates #3686
Diffstat (limited to 'cpukit/include/rtems/rtl')
-rw-r--r--cpukit/include/rtems/rtl/rtl-archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtl/rtl-archive.h b/cpukit/include/rtems/rtl/rtl-archive.h
index 1fe3aae385..8aa163e782 100644
--- a/cpukit/include/rtems/rtl/rtl-archive.h
+++ b/cpukit/include/rtems/rtl/rtl-archive.h
@@ -103,7 +103,7 @@ typedef struct rtems_rtl_archives
const char* config_name; /**< Config file name. */
time_t config_mtime; /**< Config last modified time. */
size_t config_length; /**< Length the config data. */
- const char* config; /**< Config file contents. */
+ char* config; /**< Config file contents. */
rtems_chain_control archives; /**< The located archives. */
} rtems_rtl_archives;