summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-device.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-27 08:54:01 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-27 08:54:01 +0000
commitcf12a4343611b930c2178b962cd9a4f956a05447 (patch)
tree16cb4b7595ab7f245aed96b80542cfea17459e76 /hcid/dbus-device.c
parent20b31004375588fd454b7069acaa714028e48a64 (diff)
Rename Device into Adapter
Diffstat (limited to 'hcid/dbus-device.c')
-rw-r--r--hcid/dbus-device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-device.c b/hcid/dbus-device.c
index 7dc16b0e..050aab69 100644
--- a/hcid/dbus-device.c
+++ b/hcid/dbus-device.c
@@ -1297,14 +1297,14 @@ DBusHandlerResult msg_func_device(DBusConnection *conn, DBusMessage *msg, void *
signature = dbus_message_get_signature(msg);
iface = dbus_message_get_interface(msg);
- syslog(LOG_INFO, "Device path:%s method:%s",
+ syslog(LOG_INFO, "Adapter path:%s method:%s",
dbus_message_get_path(msg), method);
- if (strcmp(DEVICE_INTERFACE, iface))
+ if (strcmp(ADAPTER_INTERFACE, iface))
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
- if (dbus_data->path_id == DEVICE_ROOT_ID) {
- /* Device is down(path unregistered) or the path is wrong */
+ if (dbus_data->path_id == ADAPTER_ROOT_ID) {
+ /* Adapter is down(path unregistered) or the path is wrong */
error = BLUEZ_EDBUS_UNKNOWN_PATH;
goto failed;
}