summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-05 22:11:56 +0000
committerVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-05 22:11:56 +0000
commit190c8e73dc79edd6eb7485ad3663e89fb757aafa (patch)
tree2d5da6ccf99eb852daeb80863874dd441072ed2b /hcid
parentca2431c2845bed870157fee7ace5c4cade12b396 (diff)
Adapts the device name to the new way.
Diffstat (limited to 'hcid')
-rw-r--r--hcid/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/device.c b/hcid/device.c
index c4f2bf05..002b77ab 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -763,7 +763,7 @@ struct device_data *device_create(const char *adapter, const char *address)
if (device == NULL)
return NULL;
- device->path = g_strdup_printf("/device/%s_%s", adapter, address);
+ device->path = g_strdup_printf("%s/dev_%s", adapter, address);
g_strdelimit(device->path, ":", '_');
debug("Creating device %s", device->path);