From b970e41eb138c5e9cd1027eb786c1ff80bb7157a Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Sat, 8 Jun 2024 15:19:27 -0400 Subject: [PATCH] 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) --- src/tools/cephfs/JournalTool.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/cephfs/JournalTool.cc b/src/tools/cephfs/JournalTool.cc index 021ad7fdea407..f62b73f4094e9 100644 --- a/src/tools/cephfs/JournalTool.cc +++ b/src/tools/cephfs/JournalTool.cc @@ -1034,7 +1034,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; @@ -1265,7 +1265,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; } -- 2.39.5