summaryrefslogtreecommitdiffstats
path: root/linkers/rtems-rapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linkers/rtems-rapper.cpp')
-rw-r--r--linkers/rtems-rapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linkers/rtems-rapper.cpp b/linkers/rtems-rapper.cpp
index afc301d..ae339ac 100644
--- a/linkers/rtems-rapper.cpp
+++ b/linkers/rtems-rapper.cpp
@@ -726,7 +726,7 @@ rap_show (rld::path::paths& raps,
{
r.load ();
}
- catch (rld::error re)
+ catch (rld::error& re)
{
std::cout << " error: "
<< re.where << ": " << re.what
@@ -1280,14 +1280,14 @@ main (int argc, char* argv[])
if (expand)
rap_expander (raps, warnings);
}
- catch (rld::error re)
+ catch (rld::error& re)
{
std::cerr << "error: "
<< re.where << ": " << re.what
<< std::endl;
ec = 10;
}
- catch (std::exception e)
+ catch (std::exception& e)
{
int status;
char* realname;