summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 01:20:52 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 01:20:52 +0100
commitb8358bce140f0e99d9603a7f09a96f24d3b47f74 (patch)
treed7fa5fe0464fe989255875b9d71d63733dfa86f3
parentcc3773810855956bad92337cee8fa193584ab62e (diff)
logind: fix serialization of ListSeats() bus call
-rw-r--r--src/login/logind-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 64716789e3..9fe41d8123 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -371,7 +371,7 @@ static int method_list_seats(sd_bus *bus, sd_bus_message *message, void *userdat
if (!p)
return sd_bus_reply_method_errno(bus, message, -ENOMEM, NULL);
- r = sd_bus_message_append(reply, "so", seat->id, p);
+ r = sd_bus_message_append(reply, "(so)", seat->id, p);
if (r < 0)
return sd_bus_reply_method_errno(bus, message, r, NULL);
}