summaryrefslogtreecommitdiffstats
path: root/serial
diff options
context:
space:
mode:
Diffstat (limited to 'serial')
-rw-r--r--serial/manager.c2
-rw-r--r--serial/port.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/serial/manager.c b/serial/manager.c
index ba9ef112..3d1f3629 100644
--- a/serial/manager.c
+++ b/serial/manager.c
@@ -1631,7 +1631,7 @@ static DBusHandlerResult proxy_set_serial_params(DBusConnection *conn,
static DBusMethodVTable proxy_methods[] = {
{ "Enable", proxy_enable, "", "" },
{ "Disable", proxy_disable, "", "" },
- { "GetInfo", proxy_get_info, "", "{sv}" },
+ { "GetInfo", proxy_get_info, "", "a{sv}" },
{ "SetSerialParameters", proxy_set_serial_params, "syys", "" },
{ NULL, NULL, NULL, NULL },
};
diff --git a/serial/port.c b/serial/port.c
index 30b1412e..b12a2645 100644
--- a/serial/port.c
+++ b/serial/port.c
@@ -217,7 +217,7 @@ static DBusMethodVTable port_methods[] = {
{ "GetAdapter", port_get_adapter, "", "s" },
{ "GetName", port_get_name, "", "s" },
{ "GetServiceName", port_get_service_name, "", "s" },
- { "GetInfo", port_get_info, "", "{sv}" },
+ { "GetInfo", port_get_info, "", "a{sv}" },
{ NULL, NULL, NULL, NULL },
};