summaryrefslogtreecommitdiffstats
path: root/user_channel/user_mgmt.cpp
diff options
context:
space:
mode:
authorAyushi Smriti <smriti.ayushi@linux.intel.com>2019-10-16 16:10:18 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2019-10-18 04:54:58 +0000
commit05ad341e2aad6de21dabdc508074677eae19baf2 (patch)
treee0f834b87b5a91e8366558d6ed92bae9a71ee3b0 /user_channel/user_mgmt.cpp
parentaffadb557aa54d0631db64c8ccbdd320543c5033 (diff)
downloadphosphor-host-ipmid-05ad341e2aad6de21dabdc508074677eae19baf2.tar.gz
phosphor-host-ipmid-05ad341e2aad6de21dabdc508074677eae19baf2.zip
Clean-up: entry code msgs in user_channel cpp files
Cleaning up phosphor logging entry messages from the usage of ':' to '=' in the whole user_channel dir cpp files. Signed-off-by: Ayushi Smriti <smriti.ayushi@linux.intel.com> Change-Id: Ifa8eb35751279cf6bebd876105b7a4d24deb98a0
Diffstat (limited to 'user_channel/user_mgmt.cpp')
-rw-r--r--user_channel/user_mgmt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_channel/user_mgmt.cpp b/user_channel/user_mgmt.cpp
index d0dcb38..aa20c2b 100644
--- a/user_channel/user_mgmt.cpp
+++ b/user_channel/user_mgmt.cpp
@@ -775,7 +775,7 @@ ipmi_ret_t UserAccess::setUserPassword(const uint8_t userId,
if (ipmiUserGetUserName(userId, userName) != IPMI_CC_OK)
{
log<level::DEBUG>("User Name not found",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_PARM_OUT_OF_RANGE;
}
std::string passwd;
@@ -785,13 +785,13 @@ ipmi_ret_t UserAccess::setUserPassword(const uint8_t userId,
std::regex("[a-zA-z_0-9][a-zA-Z_0-9,?:`!\"]*")))
{
log<level::DEBUG>("Invalid password fields",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_INVALID_FIELD_REQUEST;
}
if (!pamUpdatePasswd(userName.c_str(), passwd.c_str()))
{
log<level::DEBUG>("Failed to update password",
- entry("USER-ID:%d", (uint8_t)userId));
+ entry("USER-ID=%d", (uint8_t)userId));
return IPMI_CC_UNSPECIFIED_ERROR;
}
return IPMI_CC_OK;
OpenPOWER on IntegriCloud