From: Lennart Poettering Date: Tue, 5 Nov 2013 16:59:55 +0000 (+0100) Subject: logind: fix serialization for PrepareForSleep boolean X-Git-Tag: v209~1648 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=dd9f052591e482c57c57a92e2c7cc4b0470fe275 logind: fix serialization for PrepareForSleep boolean --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 532b48ff6..dcfd25d69 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -1369,7 +1369,7 @@ static int send_prepare_for(Manager *m, InhibitWhat w, bool _active) { "org.freedesktop.login1.Manager", signal_name[w], "b", - &active); + active); } int bus_manager_shutdown_or_sleep_now_or_later(