aboutsummaryrefslogtreecommitdiff
path: root/build2/config/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/config/operation.cxx')
-rw-r--r--build2/config/operation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx
index e6ab14a..78c63b1 100644
--- a/build2/config/operation.cxx
+++ b/build2/config/operation.cxx
@@ -187,7 +187,7 @@ namespace build2
// something is broken.
//
if (r == nullptr)
- fail (loc) << "inherited variable " << var.name << " value "
+ fail (loc) << "inherited variable " << var << " value "
<< "is not from a root scope";
// If none of the outer project's configurations use this value,
@@ -198,7 +198,7 @@ namespace build2
{
diag_record dr;
dr << warn (loc) << "saving previously inherited variable "
- << var.name;
+ << var;
dr << info (loc) << "because project " << r->out_path ()
<< " no longer uses it in its configuration";