summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 6bd17750..6deb93b5 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -745,7 +745,7 @@ static void resolve_paths(DBusMessage *msg, char **old_path, char **new_path)
}
if (old_path)
- *old_path = g_strconcat(BASE_PATH, path);
+ *old_path = g_strconcat(BASE_PATH, path, NULL);
if (new_path)
*new_path = g_strdup(path);