Use proper base path prefix for device objects
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2010 06:17:33 +0000 (07:17 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 25 Jan 2010 06:17:33 +0000 (07:17 +0100)
src/element.c

index 01ae10eb64d8465459eb113342f5e77d71a2a860..1d2afaa5b886b2c13c00d1ed44cc8f29bde360d6 100644 (file)
@@ -1006,7 +1006,7 @@ static void register_element(gpointer data, gpointer user_data)
                element->parent = element_root->data;
 
                node = element_root;
-               basepath = "/device";
+               basepath = CONNMAN_PATH "/device";
        }
 
        element->path = g_strdup_printf("%s/%s", basepath, element->name);