]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: cosmetic header changes
authorSage Weil <sage.weil@dreamhost.com>
Fri, 4 Mar 2011 05:34:26 +0000 (21:34 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 4 Mar 2011 05:34:26 +0000 (21:34 -0800)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/include/rados/librados.hpp

index eb67e40a35c388e4d307d9c1d9d57cfec66bc26a..e9f5d7698449d3c316049f5e2bd7e74f593c7725 100644 (file)
@@ -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<std::string>& v);