Fix incorrectly formatted log entries
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
Change-Id: I0cf6ec713c7dd3542f74f65d929155f7f5dc260e
diff --git a/user_mgr.cpp b/user_mgr.cpp
index 05aa6e7..19b73b8 100644
--- a/user_mgr.cpp
+++ b/user_mgr.cpp
@@ -121,8 +121,8 @@
int retCode = execProg.exit_code();
if (retCode)
{
- log<level::ERR>("Command execution failed", entry("PATH=%d", path),
- entry("RETURN_CODE:%d", retCode));
+ log<level::ERR>("Command execution failed", entry("PATH=%s", path),
+ entry("RETURN_CODE=%d", retCode));
elog<InternalFailure>();
}