diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-05 17:47:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-05 17:47:15 +0100 |
commit | dbfa3fbbe423bfaa6b5e864cce51724f8ddfb64f (patch) | |
tree | f127aaa3f31e772b3c1b9807dde113bfad483c93 /src/login | |
parent | 313333b403439360c0396a50d77d0a1ee2bca4df (diff) |
logind: fix serialization of ListInhibitors() request
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 9fe41d8123..532b48ff6b 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -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), |