summaryrefslogtreecommitdiffstats
path: root/ipmi_fru_info_area.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-09-10 15:53:14 -0700
committerPatrick Venture <venture@google.com>2018-09-25 10:08:28 -0700
commitb51bf9c8815dae7ae3765158df8e69148539182d (patch)
treea7b6f9a7b7a99230ce630222882313e184d2781c /ipmi_fru_info_area.cpp
parent3a5071a9256ded54366494e161045db73b2d7a92 (diff)
downloadphosphor-host-ipmid-b51bf9c8815dae7ae3765158df8e69148539182d.tar.gz
phosphor-host-ipmid-b51bf9c8815dae7ae3765158df8e69148539182d.zip
add std namespace prefix to common methods
Standard clib methods should be explicitly grabbed from the standard namespace. Change-Id: I8bcfcb260a99180d535ec8102c1a24c318cbc209 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'ipmi_fru_info_area.cpp')
-rw-r--r--ipmi_fru_info_area.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipmi_fru_info_area.cpp b/ipmi_fru_info_area.cpp
index 47979e9..949d546 100644
--- a/ipmi_fru_info_area.cpp
+++ b/ipmi_fru_info_area.cpp
@@ -5,6 +5,7 @@
#include <map>
#include <numeric>
#include <phosphor-logging/elog.hpp>
+
namespace ipmi
{
namespace fru
@@ -184,8 +185,8 @@ void appendMfgDate(const PropertyMap& propMap, FruAreaData& data)
std::copy(fru_raw, fru_raw + 3, std::back_inserter(data));
return;
}
- fprintf(stderr, "MgfDate invalid date: %u secs since UNIX epoch\n",
- static_cast<unsigned int>(raw));
+ std::fprintf(stderr, "MgfDate invalid date: %u secs since UNIX epoch\n",
+ static_cast<unsigned int>(raw));
}
// Blank date
data.emplace_back(0);
OpenPOWER on IntegriCloud