aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/functions-name.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/functions-name.cxx b/libbuild2/functions-name.cxx
index ca0f8ce..9b1a80b 100644
--- a/libbuild2/functions-name.cxx
+++ b/libbuild2/functions-name.cxx
@@ -111,7 +111,7 @@ namespace build2
//
function_family ft (m, "target");
- fn["path"] = [](const scope* s, names ns)
+ ft["path"] = [](const scope* s, names ns)
{
if (s == nullptr)
fail << "target.path() called out of scope";