diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-10-19 16:36:45 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2017-10-19 16:38:11 -0500 |
commit | e4050f298e996e2980434be08895814709298b2f (patch) | |
tree | 6ca8d992bf7cf3f8a617e80a833948c7ab2d42e6 /sensorhandler.cpp | |
parent | e8939395406a6e600df0ed8fc8069a7daa4fed7f (diff) | |
download | phosphor-host-ipmid-e4050f298e996e2980434be08895814709298b2f.tar.gz phosphor-host-ipmid-e4050f298e996e2980434be08895814709298b2f.zip |
Update Journal Variable Names
Journal entry variable names should be uppercase.
https://www.freedesktop.org/software/systemd/man/sd_journal_print.html
Also, fixed indentation.
Change-Id: I2c838332ab7811ccc9a2c99f5b1f558c48f25f76
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'sensorhandler.cpp')
-rw-r--r-- | sensorhandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp index 04402c1..582f16b 100644 --- a/sensorhandler.cpp +++ b/sensorhandler.cpp @@ -703,7 +703,8 @@ void setUnitFieldsForObject(sd_bus *bus, &raw_cstr)) { log<level::WARNING>("Unit interface missing.", - entry("bus=%s, path=%s", iface.bus, iface.path)); + entry("BUS=%s", iface.bus), + entry("PATH=%s", iface.path)); } else { @@ -766,7 +767,8 @@ int64_t getScaleForObject(sd_bus *bus, 'x', &result)) { log<level::WARNING>("Scale interface missing.", - entry("bus=%s, path=%s", iface.bus, iface.path)); + entry("BUS=%s", iface.bus), + entry("PATH=%s", iface.path)); } } |