Fix build error with CRASHDUMP enabled
I mistakenly included parameters from a test build that CI didn't catch
as the CRASHDUMP option is disabled by default. This fixes the build
with CRASHDUMP enabled.
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: I641d04b253c68cc183e4136c75128a05dc0a282a
diff --git a/include/host_error_monitor.hpp b/include/host_error_monitor.hpp
index c4652d0..c69359d 100644
--- a/include/host_error_monitor.hpp
+++ b/include/host_error_monitor.hpp
@@ -72,7 +72,7 @@
};
static inline void
- handleRecovery(RecoveryType recovery, boost::asio::io_context& io,
+ handleRecovery(RecoveryType recovery,
std::shared_ptr<sdbusplus::asio::connection> conn)
{
switch (recovery)
@@ -110,7 +110,7 @@
"CrashdumpComplete'",
[conn](sdbusplus::message::message& msg) {
std::cerr << "Crashdump completed\n";
- handleRecovery(recovery, io, conn);
+ handleRecovery(recovery, conn);
crashdumpCompleteMatch.reset();
});
}