Fix boost::too_many_args error

Fixes #333.
This commit is contained in:
Eelco Dolstra 2014-09-02 22:53:01 +02:00
parent 8fb8c26b6d
commit 9472b4157d

View file

@ -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;
}