logind: fix serialization of ListInhibitors() request

This commit is contained in:
Lennart Poettering
2013-11-05 17:47:15 +01:00
parent 313333b403
commit dbfa3fbbe4
+1 -1
View 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),