chiark / gitweb /
logind: fix serialization of ListInhibitors() request
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Nov 2013 16:47:15 +0000 (17:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Nov 2013 16:47:15 +0000 (17:47 +0100)
src/login/logind-dbus.c

index 9fe41d8..532b48f 100644 (file)
@@ -400,7 +400,7 @@ static int method_list_inhibitors(sd_bus *bus, sd_bus_message *message, void *us
 
         HASHMAP_FOREACH(inhibitor, m->inhibitors, i) {
 
-                r = sd_bus_message_append(reply, "ssssuu",
+                r = sd_bus_message_append(reply, "(ssssuu)",
                                           strempty(inhibit_what_to_string(inhibitor->what)),
                                           strempty(inhibitor->who),
                                           strempty(inhibitor->why),