From a89ea7549497dbe4ae2fade41be82cf1ea4f6757 Mon Sep 17 00:00:00 2001 From: Tomasz Grabiec Date: Fri, 30 Jan 2015 08:34:24 +0100 Subject: [PATCH] validation: Fix incorrect format specifier --- validation.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validation.hh b/validation.hh index 874b84afc6..f781523b79 100644 --- a/validation.hh +++ b/validation.hh @@ -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 {