aboutsummaryrefslogtreecommitdiff
path: root/build2/context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/context.cxx')
-rw-r--r--build2/context.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 38c726d..106b7ec 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -299,7 +299,7 @@ namespace build2
}
catch (const invalid_argument& e)
{
- fail << "unable to parse build host '" << orig << "': " << e.what () <<
+ fail << "unable to parse build host '" << orig << "': " << e <<
info << "consider using the --config-guess option";
}
}