Modify dbus interface for power control.
Switch power control from org to xyz
Change-Id: I2504e4118bc88c067a5d7036f5556c8b16b274be
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
diff --git a/src/FruDevice.cpp b/src/FruDevice.cpp
index 781f7a1..1baea56 100644
--- a/src/FruDevice.cpp
+++ b/src/FruDevice.cpp
@@ -595,8 +595,8 @@
sdbusplus::bus::match::match powerMatch = sdbusplus::bus::match::match(
static_cast<sdbusplus::bus::bus &>(*systemBus),
"type='signal',interface='org.freedesktop.DBus.Properties',path_"
- "namespace='/org/openbmc/control/"
- "power0',arg0='org.openbmc.control.Power'",
+ "namespace='/xyz/openbmc_project/Chassis/Control/"
+ "power0',arg0='xyz.openbmc_project.Chassis.Control.Power'",
eventHandler);
int fd = inotify_init();