summaryrefslogtreecommitdiffstats
path: root/elog_meta.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'elog_meta.hpp')
-rw-r--r--elog_meta.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/elog_meta.hpp b/elog_meta.hpp
index b44f52d..fe14a11 100644
--- a/elog_meta.hpp
+++ b/elog_meta.hpp
@@ -80,12 +80,12 @@ inline void
if (metadata.end() != iter)
{
auto comp = [](const auto& first, const auto& second) {
- return (strcmp(std::get<0>(first), second) < 0);
+ return (std::strcmp(std::get<0>(first), second) < 0);
};
auto callout = std::lower_bound(callouts.begin(), callouts.end(),
(iter->second).c_str(), comp);
if ((callouts.end() != callout) &&
- !strcmp((iter->second).c_str(), std::get<0>(*callout)))
+ !std::strcmp((iter->second).c_str(), std::get<0>(*callout)))
{
constexpr auto ROOT = "/xyz/openbmc_project/inventory";
OpenPOWER on IntegriCloud