summaryrefslogtreecommitdiffstats
path: root/serial/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial/main.c')
-rw-r--r--serial/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/main.c b/serial/main.c
index 1d7cf228..40c49a7a 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -60,7 +60,7 @@ static DBusMessage *serial_connect(DBusConnection *conn,
return NULL;
src = device_get_address(device);
- dst = adapter->address;
+ dst = adapter_get_address(adapter);
service_connect(conn, msg, src, dst, target);