diff --git a/include/supervisor/redundant_supervisor.hpp b/include/supervisor/redundant_supervisor.hpp index 554fbce..bc2772c 100644 --- a/include/supervisor/redundant_supervisor.hpp +++ b/include/supervisor/redundant_supervisor.hpp @@ -9,7 +9,7 @@ class RedundantSupervisor { CRITICAL_ROLLBACK_FAIL, CRITICAL_NO_ROLLBACK, PRIMARY_CHANNEL_LOCKUP, - MISMATED_PREDICTION + MISMATCHED_PREDICTION }; void init(); diff --git a/src/supervisor/supervisor_failure_strings.hpp b/src/supervisor/supervisor_failure_strings.hpp index 5291746..2bc84bc 100644 --- a/src/supervisor/supervisor_failure_strings.hpp +++ b/src/supervisor/supervisor_failure_strings.hpp @@ -10,8 +10,8 @@ inline const char* supervisor_failure_reason_string( return "CRITICAL_NO_ROLLBACK"; case RedundantSupervisor::FailureMode::PRIMARY_CHANNEL_LOCKUP: return "PRIMARY_CHANNEL_LOCKUP"; - case RedundantSupervisor::FailureMode::MISMATED_PREDICTION: - return "MISMATED_PREDICTION"; + case RedundantSupervisor::FailureMode::MISMATCHED_PREDICTION: + return "MISMATCHED_PREDICTION"; default: return "UNKNOWN"; }