aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/script/parser.cxx')
-rw-r--r--libbuild2/script/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/script/parser.cxx b/libbuild2/script/parser.cxx
index 41d3092..ebfd5fc 100644
--- a/libbuild2/script/parser.cxx
+++ b/libbuild2/script/parser.cxx
@@ -1437,7 +1437,7 @@ namespace build2
}
else if (optional<string> v = str ("--unset", "-u"))
{
- verify_environment_var_name (*v, o.c_str (), "env: ", i->second);
+ verify_environment_var_name (*v, "env: ", i->second, o.c_str ());
r.variables.add (move (*v));
}