aboutsummaryrefslogtreecommitdiff
path: root/build2/version
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-19 19:02:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-19 19:02:26 +0200
commit1630f7607003cac3579486d21970c7bb98942741 (patch)
treefed4d8fa7472442e52d65f9d4479e08b1baeeab4 /build2/version
parente25d68cc8dc5dba429529d54934910887a3223a3 (diff)
Dereference pointer when printing
Diffstat (limited to 'build2/version')
-rw-r--r--build2/version/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/version/rule.cxx b/build2/version/rule.cxx
index c5eb56d..a9d62ba 100644
--- a/build2/version/rule.cxx
+++ b/build2/version/rule.cxx
@@ -564,7 +564,7 @@ namespace build2
}
catch (const io_error& e)
{
- fail << "unable to " << what << ' ' << whom << ": " << e;
+ fail << "unable to " << what << ' ' << *whom << ": " << e;
}
t.mtime (system_clock::now ());