[systemd-commits] src/login
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Nov 5 01:20:57 CET 2013
src/login/logind-dbus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b8358bce140f0e99d9603a7f09a96f24d3b47f74
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 01:20:52 2013 +0100
logind: fix serialization of ListSeats() bus call
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 6471678..9fe41d8 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);
}
More information about the systemd-commits
mailing list