]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: fix typo
authorSage Weil <sage@inktank.com>
Mon, 9 Sep 2013 04:40:33 +0000 (21:40 -0700)
committerSage Weil <sage@inktank.com>
Mon, 9 Sep 2013 04:40:33 +0000 (21:40 -0700)
cct is a member of the ObjBencher parent that we are trying to
initialize; need to pass in cct_ here.

Broken in 5dd0a83f917cb73a9985c94b9b6c2309c66d0ce3.

Fixes: #6256
Signed-off-by: Sage Weil <sage@inktank.com>
src/tools/rados/rados.cc

index 0b7cc2b9cb757295cdb99a5dc43e604ab0996717..e8386959349ce541da602a4a59f0f4eb2481b311 100644 (file)
@@ -880,7 +880,7 @@ protected:
 
 public:
   RadosBencher(CephContext *cct_, librados::Rados& _r, librados::IoCtx& _i)
-    : ObjBencher(cct), completions(NULL), rados(_r), io_ctx(_i), iterator_valid(false) {}
+    : ObjBencher(cct_), completions(NULL), rados(_r), io_ctx(_i), iterator_valid(false) {}
   ~RadosBencher() { }
 };