aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/file.cxx2
-rw-r--r--libbuild2/module.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/file.cxx b/libbuild2/file.cxx
index 68827ec..603943c 100644
--- a/libbuild2/file.cxx
+++ b/libbuild2/file.cxx
@@ -1290,7 +1290,7 @@ namespace build2
// over anything that we may discover. In particular, we will prefer it
// over any bundled subprojects.
//
- auto& vp (ibase.ctx.var_pool.rw (iroot));
+ auto& vp (ctx.var_pool.rw (iroot));
for (;;) // Break-out loop.
{
diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx
index c3e4c62..c2fbc14 100644
--- a/libbuild2/module.cxx
+++ b/libbuild2/module.cxx
@@ -493,7 +493,7 @@ namespace build2
// Otherwise search for this module.
//
if (const module_functions* mf = find_module (
- rs, mod, loc, false /* boot */, opt))
+ bs, mod, loc, false /* boot */, opt))
{
if (mf->boot != nullptr)
fail (loc) << "build system module " << mod << " should be loaded "