test/crimson: print pointer using fmt::ptr()

in fmtlib v9, it does not format typed pointers anymore, instead,
we need to print them using fmt::ptr().

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
Kefu Chai 2022-12-15 15:26:46 +08:00
parent 3a1c5ac47d
commit d887b97fe7

View File

@ -1615,7 +1615,8 @@ class FailoverTestPeer : public Dispatcher {
ceph_assert(test_suite);
return test_suite->markdown();
default:
logger().error("TestPeer got unexpected command {} from Test", m_cmd);
logger().error("TestPeer got unexpected command {} from Test",
fmt::ptr(m_cmd.get()));
ceph_abort();
return seastar::now();
}