summaryrefslogtreecommitdiffstats
path: root/tools/hciconfig.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:03:54 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:03:54 +0000
commitff9745b2228bfb780f5d5d553a8de61a7271062d (patch)
treed189fb6cf71d6100331821f35249ba12bfb0f924 /tools/hciconfig.c
parent86d19dcfa04879c863a1248851cd7854b68242cb (diff)
Make use of create_name()
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r--tools/hciconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 04f9a8be..53ffec89 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -734,7 +734,7 @@ static int get_link_key(const bdaddr_t *local, const bdaddr_t *peer, uint8_t *ke
int i;
ba2str(local, addr);
- snprintf(filename, PATH_MAX, "%s/%s/linkkeys", STORAGEDIR, addr);
+ create_name(filename, PATH_MAX, STORAGEDIR, addr, "linkkeys");
ba2str(peer, addr);
str = textfile_get(filename, addr);