Fix bad format string

This commit is contained in:
Eelco Dolstra 2016-03-09 16:59:35 +01:00
parent 80ff78b1b6
commit dc790c5f7e

View file

@ -39,7 +39,7 @@ public:
: ts(ts), tokens(tokens)
{
if (tokens >= ts->maxTokens)
throw NoTokens(format("requesting more tokens (%d) than exist (%d)") % tokens);
throw NoTokens(format("requesting more tokens (%d) than exist (%d)") % tokens % ts->maxTokens);
auto inUse(ts->inUse.lock());
while (*inUse + tokens > ts->maxTokens)
if (timeout) {