From 5b801e4fc61bba52dfc77cb05e728262276dd2c8 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Thu, 19 Oct 2017 17:11:42 -0500 Subject: 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 --- utils.cpp | 16 ++++++++-------- 1 file 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("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(); } @@ -192,8 +192,8 @@ PropertyMap getAllDbusProperties(sdbusplus::bus::bus& bus, if (reply.is_method_error()) { log("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(); } @@ -354,7 +354,7 @@ ObjectTree getAllAncestors(sdbusplus::bus::bus& bus, log("Error in mapper call", entry("PATH=%s", path.c_str()), entry("INTERFACES=%s", - convertToString(interfaces).c_str())); + convertToString(interfaces).c_str())); elog(); } @@ -367,7 +367,7 @@ ObjectTree getAllAncestors(sdbusplus::bus::bus& bus, log("No Object has implemented the interface", entry("PATH=%s", path.c_str()), entry("INTERFACES=%s", - convertToString(interfaces).c_str())); + convertToString(interfaces).c_str())); elog(); } @@ -522,7 +522,7 @@ uint32_t getVLAN(const std::string& path) { log("Exception occured during getVLAN", entry("PATH=%s",path.c_str()), - entry("EXCEPTIOn=%s", e.what())); + entry("EXCEPTION=%s", e.what())); } return vlanID; } -- cgit v1.2.1