From: Patrick Donnelly Date: Sat, 8 Jun 2024 19:19:27 +0000 (-0400) Subject: tools/cephfs/JournalTool: remove extraneous 0x in debug output X-Git-Tag: v18.2.5~530^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=134fc1d91b644c200b51bd9b3d73159dcd417c05;p=ceph.git tools/cephfs/JournalTool: remove extraneous 0x in debug output Looked like: recover_dentries: updating root 0x0x1 Signed-off-by: Patrick Donnelly (cherry picked from commit 7599d47c7ca05e0569868959b3f5534e2e5455ca) --- diff --git a/src/tools/cephfs/JournalTool.cc b/src/tools/cephfs/JournalTool.cc index 6bca9bb08167..a17b61abb45a 100644 --- a/src/tools/cephfs/JournalTool.cc +++ b/src/tools/cephfs/JournalTool.cc @@ -1007,7 +1007,7 @@ int JournalTool::recover_dentries( */ for (const auto& fb : metablob.roots) { inodeno_t ino = fb.inode->ino; - dout(4) << "updating root 0x" << std::hex << ino << std::dec << dendl; + dout(4) << "updating root " << ino << dendl; object_t root_oid = InodeStore::get_object_name(ino, frag_t(), ".inode"); dout(4) << "object id " << root_oid.name << dendl; @@ -1238,7 +1238,7 @@ int JournalTool::consume_inos(const std::set &inos) { const inodeno_t ino = *i; if (ino_table.force_consume(ino)) { - dout(4) << "Used ino 0x" << std::hex << ino << std::dec + dout(4) << "Used ino " << ino << " requires inotable update" << dendl; inotable_modified = true; }