]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: fix the error return variable in log message
authorYan Jun <yan.jun8@zte.com.cn>
Tue, 5 Jul 2016 03:37:32 +0000 (11:37 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Fri, 8 Jul 2016 05:48:40 +0000 (13:48 +0800)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_rados.cc

index 77d3863d1de5467b469a19bd3d0be953ffd3454d..85a64fb85eb1d8e689c4dfc53cba7ed7d994d92a 100644 (file)
@@ -8509,7 +8509,7 @@ int RGWRados::set_attrs(void *ctx, rgw_obj& obj,
     } else {
       int ret = index_op.cancel();
       if (ret < 0) {
-        ldout(cct, 0) << "ERROR: comlete_update_index_cancel() returned r=" << r << dendl;
+        ldout(cct, 0) << "ERROR: complete_update_index_cancel() returned ret=" << ret << dendl;
       }
     }
   }