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/machine_name.cpp b/machine_name.cpp
index c06ce5c..cc2bdee 100644
--- a/machine_name.cpp
+++ b/machine_name.cpp
@@ -18,6 +18,7 @@
#include "errors.hpp"
#include <ipmid/api-types.hpp>
+#include <stdplus/print.hpp>
#include <cstddef>
#include <cstdio>
@@ -50,7 +51,7 @@
size_t len = sizeof(struct GetMachineNameReply) + machineName->size();
if (len > MAX_IPMI_BUFFER)
{
- std::fprintf(stderr, "Response would overflow response buffer\n");
+ stdplus::print(stderr, "Response would overflow response buffer\n");
return ::ipmi::responseInvalidCommand();
}