summaryrefslogtreecommitdiffstats
path: root/storagehandler.cpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-10-19 16:36:45 -0500
committerGunnar Mills <gmills@us.ibm.com>2017-10-19 16:38:11 -0500
commite4050f298e996e2980434be08895814709298b2f (patch)
tree6ca8d992bf7cf3f8a617e80a833948c7ab2d42e6 /storagehandler.cpp
parente8939395406a6e600df0ed8fc8069a7daa4fed7f (diff)
downloadphosphor-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 'storagehandler.cpp')
-rw-r--r--storagehandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 123398b..8d9e93d 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -634,8 +634,9 @@ ipmi_ret_t ipmi_storage_read_fru_data(
if ((offset + reqptr->count) > size)
{
log<level::ERR>("Invalid offset and count",
- entry("Offset=%d Count=%d SizeOfFruArea=%d",
- offset, reqptr->count, size));
+ entry("OFFSET=%s", offset),
+ entry("COUNT=%s", reqptr->count),
+ entry("SIZE_OF_FRU_AREA=%s", size));
return IPMI_CC_INVALID;
}
std::copy((fruArea.begin() + offset), (fruArea.begin() + reqptr->count),
OpenPOWER on IntegriCloud