about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-02T20·53+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-02T20·53+0200
commit9472b4157d7d8432ddf5eb77b3a88e00dcb4e61a (patch)
tree92d5300310c1de899eb07b520563566016fefd49 /src/libexpr/eval.cc
parent8fb8c26b6d07d2aadf9cf85bda159c815996be89 (diff)
Fix boost::too_many_args error
Fixes #333.
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 5cb6fc3cfe7b..2af6a6787dfc 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1330,7 +1330,7 @@ Path EvalState::coerceToPath(const Pos & pos, Value & v, PathSet & context)
 {
     string path = coerceToString(pos, v, context, false, false);
     if (path == "" || path[0] != '/')
-        throwEvalError("string ‘%1%’ doesn't represent an absolute path, at %1%", path, pos);
+        throwEvalError("string ‘%1%’ doesn't represent an absolute path, at %2%", path, pos);
     return path;
 }