summaryrefslogtreecommitdiffstats
path: root/control/zone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/zone.cpp')
-rw-r--r--control/zone.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/control/zone.cpp b/control/zone.cpp
index 41ee0cc..325a5b8 100644
--- a/control/zone.cpp
+++ b/control/zone.cpp
@@ -186,10 +186,8 @@ void Zone::setServices(const Group* group)
bool hasOwner = false;
try
{
- name = util::SDBusPlus::getService(
- _bus,
- it->first,
- std::get<intfPos>(it->second));
+ name = getService(it->first,
+ std::get<intfPos>(it->second));
hasOwner = util::SDBusPlus::callMethodAndRead<bool>(
_bus,
"org.freedesktop.DBus",
OpenPOWER on IntegriCloud