]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: drop redundant std::hex
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 29 Jul 2016 03:15:33 +0000 (11:15 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 29 Jul 2016 03:15:33 +0000 (11:15 +0800)
And add "0x" prefix for hexadecimal output.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/bluestore_types.cc

index dfec95a1fcf98a09f167ea270cc71d4700341400..00a7e05de4e022c7b5275a4c756b3ad5c306df63 100644 (file)
@@ -555,7 +555,7 @@ ostream& operator<<(ostream& out, const bluestore_blob_t& o)
   out << "blob(" << o.extents
       << " clen 0x" << std::hex
       << o.compressed_length_orig
-      << " -> " << std::hex
+      << " -> 0x"
       << o.compressed_length
       << std::dec;
   if (o.flags) {