summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Yugang <yugang.chen@intel.com>2019-09-04 01:56:53 +0300
committerGerrit Code Review <gerrit@localhost>2019-09-04 01:56:53 +0300
commitb1343f99d63781ee3b9ba87575183bbbff1d5476 (patch)
treef0250a26bfd88598f2efeab2af7fb17187fa12fb
parent7407435c4c1ef150a0fa254c8b70817ae5bd93d9 (diff)
parent984cc72566a06d6c87e2f3f8e95810367c079146 (diff)
downloadprovingground-b1343f99d63781ee3b9ba87575183bbbff1d5476.tar.xz
Merge "Change name from SSBThermtrip to SsbThermalTrip"
-rw-r--r--host_error_monitor/src/host_error_monitor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host_error_monitor/src/host_error_monitor.cpp b/host_error_monitor/src/host_error_monitor.cpp
index ed32947..4c44007 100644
--- a/host_error_monitor/src/host_error_monitor.cpp
+++ b/host_error_monitor/src/host_error_monitor.cpp
@@ -324,11 +324,11 @@ static void pchThermtripHandler()
gpioLineEvent.event_type == gpiod::line_event::FALLING_EDGE;
if (pchThermtrip)
{
- std::cout << "PCH Thermtrip detected \n";
+ std::cout << "PCH Thermal trip detected \n";
// log to redfish, call API
- sd_journal_send("MESSAGE=SSBThermtrip: SSB Thermtrip",
+ sd_journal_send("MESSAGE=SsbThermalTrip: SSB Thermal trip",
"PRIORITY=%i", LOG_INFO, "REDFISH_MESSAGE_ID=%s",
- "OpenBMC.0.1.SSBThermtrip", NULL);
+ "OpenBMC.0.1.SsbThermalTrip", NULL);
}
}
pchThermtripEvent.async_wait(
@@ -336,7 +336,7 @@ static void pchThermtripHandler()
[](const boost::system::error_code ec) {
if (ec)
{
- std::cerr << "PCH Thermtrip handler error: " << ec.message()
+ std::cerr << "PCH Thermal trip handler error: " << ec.message()
<< "\n";
return;
}