Skip to content

Commit 7599d47

Browse files
committed
tools/cephfs/JournalTool: remove extraneous 0x in debug output
Looked like: recover_dentries: updating root 0x0x1 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent a66e80a commit 7599d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/cephfs/JournalTool.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ int JournalTool::recover_dentries(
10341034
*/
10351035
for (const auto& fb : metablob.roots) {
10361036
inodeno_t ino = fb.inode->ino;
1037-
dout(4) << "updating root 0x" << std::hex << ino << std::dec << dendl;
1037+
dout(4) << "updating root " << ino << dendl;
10381038

10391039
object_t root_oid = InodeStore::get_object_name(ino, frag_t(), ".inode");
10401040
dout(4) << "object id " << root_oid.name << dendl;
@@ -1265,7 +1265,7 @@ int JournalTool::consume_inos(const std::set<inodeno_t> &inos)
12651265
{
12661266
const inodeno_t ino = *i;
12671267
if (ino_table.force_consume(ino)) {
1268-
dout(4) << "Used ino 0x" << std::hex << ino << std::dec
1268+
dout(4) << "Used ino " << ino
12691269
<< " requires inotable update" << dendl;
12701270
inotable_modified = true;
12711271
}

0 commit comments

Comments
 (0)