Move object_mapper per dbus path conventions.
Partial fix for openbmc/openbmc#1112.
Change-Id: If4eb2036cdfc1d81578fd70ae0360cc39c7deca4
Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
diff --git a/fanctl/fan_control.c b/fanctl/fan_control.c
index 6821c17..0a93a63 100644
--- a/fanctl/fan_control.c
+++ b/fanctl/fan_control.c
@@ -24,7 +24,7 @@
#define DBUS_MAX_NAME_LEN 256
const char *objectmapper_service_name = "xyz.openbmc_project.ObjectMapper";
-const char *objectmapper_object_name = "/xyz/openbmc_project/ObjectMapper";
+const char *objectmapper_object_name = "/xyz/openbmc_project/object_mapper";
const char *objectmapper_intf_name = "xyz.openbmc_project.ObjectMapper";
typedef struct {
diff --git a/pciedetect/pcie_slot_present_obj.c b/pciedetect/pcie_slot_present_obj.c
index 4946d17..01aeff4 100644
--- a/pciedetect/pcie_slot_present_obj.c
+++ b/pciedetect/pcie_slot_present_obj.c
@@ -39,7 +39,7 @@
G_DBUS_PROXY_FLAGS_NONE,
NULL, /* GDBusInterfaceInfo* */
"xyz.openbmc_project.ObjectMapper", /* name */
- "/xyz/openbmc_project/ObjectMapper", /* object path */
+ "/xyz/openbmc_project/object_mapper", /* object path */
"xyz.openbmc_project.ObjectMapper", /* interface name */
NULL, /* GCancellable */
error);