summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manager.c b/src/manager.c
index c42a7c96..c43ef5b8 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -276,6 +276,8 @@ dbus_bool_t manager_init(DBusConnection *conn, const char *path)
{
connection = conn;
+ snprintf(base_path, sizeof(base_path), "/org/bluez/%d", getpid());
+
return g_dbus_register_interface(conn, "/", MANAGER_INTERFACE,
manager_methods, manager_signals,
NULL, NULL, NULL);