summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:57:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:57:50 +0000
commitf901d243dff9fa64668f03a3ed0eb752b317fef0 (patch)
tree4b8d136b7f5f833e7680b27828137ad746871b8d /hcid/dbus-adapter.c
parent17152022a5844275a6f3e3e71ef5b32dc2c0ec04 (diff)
Make use of create_name()
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 2d9b32b4..01cd3886 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -1997,7 +1997,7 @@ static DBusHandlerResult handle_dev_list_bondings_req(DBusConnection *conn, DBus
if (!dbus_message_has_signature(msg, DBUS_TYPE_INVALID_AS_STRING))
return error_invalid_arguments(conn, msg);
- snprintf(filename, PATH_MAX, "%s/%s/linkkeys", STORAGEDIR, dbus_data->address);
+ create_name(filename, PATH_MAX, STORAGEDIR, dbus_data->address, "linkkeys");
reply = dbus_message_new_method_return(msg);