diff --git a/tools/binpac/lib/binpac_buffer.cc b/tools/binpac/lib/binpac_buffer.cc index 6440ef2c25..6bf154aea7 100644 --- a/tools/binpac/lib/binpac_buffer.cc +++ b/tools/binpac/lib/binpac_buffer.cc @@ -118,7 +118,7 @@ void FlowBuffer::ExpandBuffer(int length) if ( length > policy.max_capacity ) { - std::string reason = strfmt("expand past max capacity %d/%zu", + std::string reason = strfmt("expand past max capacity %d/%d", length, policy.max_capacity); throw ExceptionFlowBufferAlloc(reason.c_str()); }