summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Gras <beng@shrike-systems.com>2014-10-31 16:52:36 +0100
committerChris Johns <chrisj@rtems.org>2014-11-01 09:56:05 +1100
commit2015c854c54ac13d3712ddb58e946659dcc617dc (patch)
tree0b99ee2e5f6f30ac9df35a1df065d500738f12b0
parentfdb1fe685ab60de784b5f20413fe54cd70a01ff2 (diff)
downloadrtems-tools-2015c854c54ac13d3712ddb58e946659dcc617dc.tar.bz2
fix for open() not taking a std::string
-rw-r--r--linkers/rtems-syms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp
index 5d9f10a..b5dd3f3 100644
--- a/linkers/rtems-syms.cpp
+++ b/linkers/rtems-syms.cpp
@@ -440,7 +440,7 @@ main (int argc, char* argv[])
if (!map.empty ())
{
std::ofstream mout;
- mout.open (map);
+ mout.open (map.c_str());
if (!mout.is_open ())
throw rld::error ("map file open failed", "map");
mout << "RTEMS Kernel Symbols Map" << std::endl