summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOrit Wasserman <owasserm@redhat.com>2015-12-07 11:36:29 +0100
committerOrit Wasserman <owasserm@redhat.com>2015-12-17 14:38:49 +0100
commit3167608b931ecb4a3b5001cf4e1c8d2acd467259 (patch)
tree35a49c3a3fb26f419a45006deeca00a18c9c4952 /src
parentMerge pull request #6956 from somnathr/wip-conditional-drive-metadata-collection (diff)
downloadceph-3167608b931ecb4a3b5001cf4e1c8d2acd467259.tar.xz
ceph-3167608b931ecb4a3b5001cf4e1c8d2acd467259.zip
rgw: use unsigned long to print to log
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/cls/rgw/cls_rgw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc
index b4892fde9d6..088e2c5965f 100644
--- a/src/cls/rgw/cls_rgw.cc
+++ b/src/cls/rgw/cls_rgw.cc
@@ -461,7 +461,7 @@ int rgw_bucket_list(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
decode_list_index_key(kiter->first, &key, &ver);
start_key = kiter->first;
- CLS_LOG(20, "start_key=%s len=%d", start_key.c_str(), start_key.size());
+ CLS_LOG(20, "start_key=%s len=%lu", start_key.c_str(), start_key.size());
if (!entry.is_valid()) {
CLS_LOG(20, "entry %s[%s] is not valid\n", key.name.c_str(), key.instance.c_str());