]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test: fix compiler error
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 15 May 2025 17:29:55 +0000 (13:29 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 22 Sep 2025 16:34:38 +0000 (12:34 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 4dc7b06e4eb2071afa2847e8930d0e30ab532da6)

src/test/crypto.cc

index f712905c3d644e21683f5d886f3b6c36d6c57084..b90fb5a6d94525b6f4496303101d8586a323099f 100644 (file)
@@ -354,7 +354,7 @@ static void dump_buf(string title, const unsigned char *buf, int len)
     if (i != 0 && i % 16 == 0) {
       cout << std::endl;
     }
-    std::cout << std::format("{:02x} ", buf[i]);
+    std::cout << fmt::format("{:02x} ", buf[i]);
   }
   std::cout << std::endl << std::endl;
 }