cleaned up dbus names
diff --git a/objects/sensor_host_status_obj.c b/objects/sensor_host_status_obj.c
index fea3e5c..17085e4 100644
--- a/objects/sensor_host_status_obj.c
+++ b/objects/sensor_host_status_obj.c
@@ -1,6 +1,8 @@
 #include "interfaces/sensor.h"

 

 /* ---------------------------------------------------------------------------------------------------- */

+static const gchar* dbus_object_path = "/org/openbmc/sensors/HostStatus";

+static const gchar* dbus_name        = "org.openbmc.sensors.HostStatus";

 

 static GDBusObjectManagerServer *manager = NULL;

 static SensorIntegerSettable *sensor = NULL;

@@ -46,10 +48,10 @@
 

   g_print ("Acquired a message bus connection: %s\n",name);

 

-  manager = g_dbus_object_manager_server_new ("/org/openbmc/Sensors/HostStatus");

+  manager = g_dbus_object_manager_server_new (dbus_object_path);

 

   gchar *s;

-  s = g_strdup_printf ("/org/openbmc/Sensors/HostStatus/0");

+  s = g_strdup_printf ("%s/0",dbus_object_path);

   object = object_skeleton_new (s);

   g_free (s);

 

@@ -106,7 +108,7 @@
   loop = g_main_loop_new (NULL, FALSE);

 

   id = g_bus_own_name (G_BUS_TYPE_SESSION,

-                       "org.openbmc.Sensors.HostStatus",

+                       dbus_name,

                        G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT |

                        G_BUS_NAME_OWNER_FLAGS_REPLACE,

                        on_bus_acquired,