fmt: Remove fmtlib dependencies
Remove the remaining usage for the fmtlib.
Tested: working fine with the error messages.
Change-Id: I68dc70428a75706b2fc70e43f8da321d84f052cc
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/pcie_bifurcation.cpp b/pcie_bifurcation.cpp
index 4722853..19ac183 100644
--- a/pcie_bifurcation.cpp
+++ b/pcie_bifurcation.cpp
@@ -20,8 +20,6 @@
#include "errors.hpp"
#include "handler.hpp"
-#include <fmt/format.h>
-
#include <ipmid/api-types.hpp>
#include <stdplus/print.hpp>
@@ -49,8 +47,8 @@
{
if (data.size() < sizeof(struct PcieBifurcationRequest))
{
- fmt::print(stderr, "Invalid command length: {}\n",
- static_cast<uint32_t>(data.size()));
+ stdplus::print(stderr, "Invalid command length: {}\n",
+ static_cast<uint32_t>(data.size()));
return ::ipmi::responseReqDataLenInvalid();
}