softpoweroff: Correcting PEL log creation
Correct the PEL log creation as per the PEL
message registry when we hit the timeout waiting
for host to respond.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: I51909309f6a107078455f6e6993278c7fbcaafcd
diff --git a/softoff/main.cpp b/softoff/main.cpp
index ae81814..0e4576d 100644
--- a/softoff/main.cpp
+++ b/softoff/main.cpp
@@ -48,7 +48,7 @@
if (softPower.isTimerExpired() && softPower.isReceiveResponse())
{
pldm::utils::reportError(
- "pldm soft off: Waiting for the host soft off timeout");
+ "xyz.openbmc_project.PLDM.Error.SoftPowerOff.HostSoftOffTimeOut");
error(
"ERROR! Waiting for the host soft off timeout. Exit the pldm-softpoweroff");
return -1;