aboutsummaryrefslogtreecommitdiff
path: root/build2/cli/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli/init.cxx')
-rw-r--r--build2/cli/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx
index ead067a..45e2655 100644
--- a/build2/cli/init.cxx
+++ b/build2/cli/init.cxx
@@ -157,7 +157,7 @@ namespace build2
// found). So it would be good to redirect child's STDERR.
//
if (!optional)
- error << "unable to execute " << args[0] << ": " << e.what ();
+ error << "unable to execute " << args[0] << ": " << e;
if (e.child ())
exit (1);