aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-06 03:24:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:44:22 +0300
commit9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 (patch)
tree550c9edd5b29b164d7c8c2ac13111a9491495022 /build2/b.cxx
parentc5d118cde064c09a416541a7f7e76d354552b2fd (diff)
Make use of operator<<(ostream, exception)
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 7b9460b..bd77a02 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -201,7 +201,7 @@ main (int argc, char* argv[])
//
catch (const system_error& e)
{
- error << "pager failed: " << e.what ();
+ error << "pager failed: " << e;
return 1;
}
}