]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: librados: fix getxattr return code
authorSage Weil <sage@inktank.com>
Wed, 23 May 2012 03:47:21 +0000 (20:47 -0700)
committerSage Weil <sage@inktank.com>
Wed, 23 May 2012 03:47:21 +0000 (20:47 -0700)
Fixes: #2391
Signed-off-by: Sage Weil <sage@inktank.com>
src/include/rados/librados.h

index 61bdf6d157e8e5d2fe5a981606dd9cae9901379b..543a19c9923b7a83e7b3655d08a21fed3831c059 100644 (file)
@@ -937,7 +937,7 @@ int rados_trunc(rados_ioctx_t io, const char *oid, uint64_t size);
  * @param name which extended attribute to read
  * @param buf where to store the result
  * @param len size of buf in bytes
- * @returns 0 on success, negative error code on failure
+ * @returns length of xattr value on success, negative error code on failure
  */
 int rados_getxattr(rados_ioctx_t io, const char *o, const char *name, char *buf, size_t len);