pldmtool: Add the Correct Operational Fault Status enum values

The operational fault status enum values were incorrectly added
in libpldm earlier. Libpldm now has proper enum values for
operational fault status enum. Hence making the changes in
pldmtool to the same.

Change-Id: I5eec96be3a44555b2e10ca02443d698b0c52aab0
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/pldmtool/pldm_platform_cmd.cpp b/pldmtool/pldm_platform_cmd.cpp
index ecb960a..9d7266e 100644
--- a/pldmtool/pldm_platform_cmd.cpp
+++ b/pldmtool/pldm_platform_cmd.cpp
@@ -529,8 +529,10 @@
         {PLDM_STATE_SET_BOOT_PROG_STATE_OSSTART, "OSStart"}};
 
     static inline const std::map<uint8_t, std::string> setOpFaultStatus{
-        {PLDM_STATE_SET_OPERATIONAL_STRESS_STATUS_NORMAL, "Normal"},
-        {PLDM_STATE_SET_OPERATIONAL_STRESS_STATUS_STRESSED, "Stressed"}};
+        {PLDM_STATE_SET_OPERATIONAL_FAULT_STATUS_NORMAL, "Normal"},
+        {PLDM_STATE_SET_OPERATIONAL_FAULT_STATUS_ERROR, "Error"},
+        {PLDM_STATE_SET_OPERATIONAL_FAULT_STATUS_NON_RECOVERABLE_ERROR,
+         "Non Recoverable Error"}};
 
     static inline const std::map<uint8_t, std::string> setSysPowerState{
         {PLDM_STATE_SET_SYS_POWER_STATE_OFF_SOFT_GRACEFUL,
@@ -1156,8 +1158,8 @@
             {
                 std::cerr << "PDR type '" << pdrRecType
                           << "' is not supported or invalid\n";
-                // PDR type not supported, setting next record handle to 0
-                // to avoid looping through all PDR records
+                // PDR type not supported, setting next record handle to
+                // 0 to avoid looping through all PDR records
                 nextRecordHndl = 0;
                 return;
             }