summaryrefslogtreecommitdiffstats
path: root/sensors/builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sensors/builder.cpp')
-rw-r--r--sensors/builder.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/sensors/builder.cpp b/sensors/builder.cpp
index 1a74adb..f5c01b3 100644
--- a/sensors/builder.cpp
+++ b/sensors/builder.cpp
@@ -38,9 +38,10 @@ static constexpr bool deferSignals = true;
static DbusHelper helper;
SensorManager
- buildSensors(const std::map<std::string, struct conf::SensorConfig>& config)
+ buildSensors(const std::map<std::string, struct conf::SensorConfig>& config,
+ sdbusplus::bus::bus& passive, sdbusplus::bus::bus& host)
{
- SensorManager mgmr;
+ SensorManager mgmr(passive, host);
auto& hostSensorBus = mgmr.getHostBus();
auto& passiveListeningBus = mgmr.getPassiveBus();
OpenPOWER on IntegriCloud