From 9472b4157d7d8432ddf5eb77b3a88e00dcb4e61a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 2 Sep 2014 22:53:01 +0200 Subject: [PATCH] Fix boost::too_many_args error Fixes #333. --- src/libexpr/eval.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 5cb6fc3cf..2af6a6787 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; }