aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-02 11:40:11 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-02 11:40:11 +0100
commitfbf17f1ad7259f08ab53dc8319ae0f452321f081 (patch)
tree430b9e02815d43fce5f633b3fa02ca363f43a2f8
parentfa125b9b28bea25a4eeb4d39a71a481563127cb9 (diff)
builtins.fetchgit: Fix bad format string
-rw-r--r--src/libexpr/primops/fetchgit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchgit.cc b/src/libexpr/primops/fetchgit.cc
index bd440c8c6..6a5b5ac36 100644
--- a/src/libexpr/primops/fetchgit.cc
+++ b/src/libexpr/primops/fetchgit.cc
@@ -63,7 +63,7 @@ static void prim_fetchgit(EvalState & state, const Pos & pos, Value * * args, Va
else if (name == "rev")
rev = state.forceStringNoCtx(*attr.value, *attr.pos);
else
- throw EvalError(format("unsupported argument ‘%1%’ to ‘fetchgit’, at %3%") % attr.name % attr.pos);
+ throw EvalError("unsupported argument ‘%s’ to ‘fetchgit’, at %s", attr.name, *attr.pos);
}
if (url.empty())