From ab74d498a9061ebe9b8d38d3ced43926b0af0332 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 3 Mar 2011 21:34:26 -0800 Subject: [PATCH] librados: cosmetic header changes Signed-off-by: Sage Weil --- src/include/rados/librados.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/rados/librados.hpp b/src/include/rados/librados.hpp index eb67e40a35c38..e9f5d7698449d 100644 --- a/src/include/rados/librados.hpp +++ b/src/include/rados/librados.hpp @@ -92,7 +92,7 @@ namespace librados * Typical use (error checking omitted): * * IoCtx *p; - * rados.ioctx_create("my_pool", &pool); + * rados.ioctx_create("my_pool", &p); * p->stat(&stats); * ... etc ... * delete p; // close our pool handle @@ -218,7 +218,7 @@ namespace librados int pool_delete(const char *name); int pool_lookup(const char *name); - int ioctx_create(const char *name, IoCtx &pool); + int ioctx_create(const char *name, IoCtx &pioctx); /* listing objects */ int pool_list(std::list& v); -- 2.39.5