validation: Fix incorrect format specifier

This commit is contained in:
Tomasz Grabiec
2015-01-30 08:34:24 +01:00
parent 5049ed8ae6
commit a89ea75494

View File

@@ -41,7 +41,7 @@ void validate_cql_key(schema_ptr schema, const api::partition_key& key) {
// check that key can be handled by FBUtilities.writeShortByteArray
if (key.size() > max_key_size) {
throw exceptions::invalid_request_exception(sprint("Key length of %s is longer than maximum of %d", key.size(), max_key_size));
throw exceptions::invalid_request_exception(sprint("Key length of %d is longer than maximum of %d", key.size(), max_key_size));
}
try {