flash-ipmi: implement flashAbort
Change-Id: I7674790a12772ecfd15826d861fca6a56e31bb6f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 5385348..961a131 100644
--- a/main.cpp
+++ b/main.cpp
@@ -86,8 +86,8 @@
void setupGlobalOemFlashControl()
{
- flashUpdateSingleton =
- std::make_unique<FlashUpdate>(stagingPath, statusPath, hashPath);
+ flashUpdateSingleton = std::make_unique<FlashUpdate>(
+ sdbusplus::bus::new_default(), stagingPath, statusPath, hashPath);
#ifdef ENABLE_GOOGLE
oem::Router* router = oem::mutableRouter();