summaryrefslogtreecommitdiffstats
path: root/utils.cpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-19 17:11:42 -0500
committerGunnar Mills <gmills@us.ibm.com>2017-10-19 17:16:00 -0500
commit5b801e4fc61bba52dfc77cb05e728262276dd2c8 (patch)
treeddebd60be0ad13f3f0ce8159d2442c02dde9074a /utils.cpp
parente4050f298e996e2980434be08895814709298b2f (diff)
downloadphosphor-host-ipmid-5b801e4fc61bba52dfc77cb05e728262276dd2c8.tar.gz
phosphor-host-ipmid-5b801e4fc61bba52dfc77cb05e728262276dd2c8.zip
Update Journal Variable Names in utils.cpp
Journal entry variable names should be uppercase. https://www.freedesktop.org/software/systemd/man/sd_journal_print.html Also fixed indentation. Change-Id: I02d30971123c2bb526f19e00b534e06fbcd9ee59 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'utils.cpp')
-rw-r--r--utils.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils.cpp b/utils.cpp
index 82497a3..81fd919 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -161,9 +161,9 @@ Value getDbusProperty(sdbusplus::bus::bus& bus,
if (reply.is_method_error())
{
log<level::ERR>("Failed to get property",
- entry("PROPERTY=%s", property.c_str()),
- entry("PATH=%s", objPath.c_str()),
- entry("INTERFACE=%s", interface.c_str()));
+ entry("PROPERTY=%s", property.c_str()),
+ entry("PATH=%s", objPath.c_str()),
+ entry("INTERFACE=%s", interface.c_str()));
elog<InternalFailure>();
}
@@ -192,8 +192,8 @@ PropertyMap getAllDbusProperties(sdbusplus::bus::bus& bus,
if (reply.is_method_error())
{
log<level::ERR>("Failed to get all properties",
- entry("PATH=%s", objPath.c_str()),
- entry("INTERFACE=%s", interface.c_str()));
+ entry("PATH=%s", objPath.c_str()),
+ entry("INTERFACE=%s", interface.c_str()));
elog<InternalFailure>();
}
@@ -354,7 +354,7 @@ ObjectTree getAllAncestors(sdbusplus::bus::bus& bus,
log<level::ERR>("Error in mapper call",
entry("PATH=%s", path.c_str()),
entry("INTERFACES=%s",
- convertToString(interfaces).c_str()));
+ convertToString(interfaces).c_str()));
elog<InternalFailure>();
}
@@ -367,7 +367,7 @@ ObjectTree getAllAncestors(sdbusplus::bus::bus& bus,
log<level::ERR>("No Object has implemented the interface",
entry("PATH=%s", path.c_str()),
entry("INTERFACES=%s",
- convertToString(interfaces).c_str()));
+ convertToString(interfaces).c_str()));
elog<InternalFailure>();
}
@@ -522,7 +522,7 @@ uint32_t getVLAN(const std::string& path)
{
log<level::ERR>("Exception occured during getVLAN",
entry("PATH=%s",path.c_str()),
- entry("EXCEPTIOn=%s", e.what()));
+ entry("EXCEPTION=%s", e.what()));
}
return vlanID;
}
OpenPOWER on IntegriCloud