diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-18 20:51:41 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-18 20:51:41 +1100 |
commit | b5a59dd96fddf5e6b346aacb3a9dcd41da463c91 (patch) | |
tree | 66eba3d50c563356aa4fee468e268fe0186b5080 /linkers/rtems-ld.cpp | |
parent | 194160c9a365cf963ae090adecf012f73a7592a7 (diff) |
Use cerr for errors and not cout.
Diffstat (limited to 'linkers/rtems-ld.cpp')
-rw-r--r-- | linkers/rtems-ld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linkers/rtems-ld.cpp b/linkers/rtems-ld.cpp index 7832b96..d051b4b 100644 --- a/linkers/rtems-ld.cpp +++ b/linkers/rtems-ld.cpp @@ -469,7 +469,7 @@ main (int argc, char* argv[]) ::free (realname); const std::type_info &ti = typeid (e); realname = abi::__cxa_demangle (ti.name(), 0, 0, &status); - std::cerr << realname << "] " << e.what () << std::endl; + std::cerr << realname << "] " << e.what () << std::endl << std::flush; ::free (realname); ec = 11; } @@ -478,7 +478,7 @@ main (int argc, char* argv[]) /* * Helps to know if this happens. */ - std::cout << "error: unhandled exception" << std::endl; + std::cerr << "error: unhandled exception" << std::endl; ec = 12; } |