summaryrefslogtreecommitdiffstats
path: root/elog_meta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'elog_meta.cpp')
-rw-r--r--elog_meta.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/elog_meta.cpp b/elog_meta.cpp
index 98425d4..f2883b7 100644
--- a/elog_meta.cpp
+++ b/elog_meta.cpp
@@ -24,12 +24,12 @@ void build<xyz::openbmc_project::Common::Callout::Device::CALLOUT_DEVICE_PATH>(
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)))
{
list.emplace_back(std::make_tuple(
CALLOUT_FWD_ASSOCIATION, CALLOUT_REV_ASSOCIATION,
OpenPOWER on IntegriCloud