diff options
author | Ben Gras <beng@shrike-systems.com> | 2014-10-31 16:52:36 +0100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-11-01 09:56:05 +1100 |
commit | 2015c854c54ac13d3712ddb58e946659dcc617dc (patch) | |
tree | 0b99ee2e5f6f30ac9df35a1df065d500738f12b0 | |
parent | linkers: Add base image symbol to ELF object file generation. (diff) | |
download | rtems-tools-2015c854c54ac13d3712ddb58e946659dcc617dc.tar.bz2 |
fix for open() not taking a std::string
-rw-r--r-- | linkers/rtems-syms.cpp | 2 |
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 |