all: Use stdplus::print over std::fprintf
Replacing `std::fprintf` with `stdplus::print`.
No logical change.
Tested: Buildable.
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I7050885c13e33244a4128aa519d163fd5b725098
diff --git a/pcie_bifurcation.cpp b/pcie_bifurcation.cpp
index dade4ed..4722853 100644
--- a/pcie_bifurcation.cpp
+++ b/pcie_bifurcation.cpp
@@ -23,6 +23,7 @@
#include <fmt/format.h>
#include <ipmid/api-types.hpp>
+#include <stdplus/print.hpp>
#include <span>
#include <vector>
@@ -59,7 +60,7 @@
if (length > MAX_IPMI_BUFFER)
{
- std::fprintf(stderr, "Response would overflow response buffer\n");
+ stdplus::print(stderr, "Response would overflow response buffer\n");
return ::ipmi::responseInvalidCommand();
}