diff options
Diffstat (limited to 'monitor/tach_sensor.cpp')
-rw-r--r-- | monitor/tach_sensor.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/monitor/tach_sensor.cpp b/monitor/tach_sensor.cpp index a4ebcd9..8d8d37a 100644 --- a/monitor/tach_sensor.cpp +++ b/monitor/tach_sensor.cpp @@ -126,11 +126,8 @@ TachSensor::TachSensor(sdbusplus::bus::bus& bus, std::string TachSensor::getMatchString(const std::string& interface) { - return std::string("type='signal'," - "interface='org.freedesktop.DBus.Properties'," - "member='PropertiesChanged'," - "arg0namespace='" + interface + "'," - "path='" + _name + "'"); + return sdbusplus::bus::match::rules::propertiesChanged( + _name, interface); } |