summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 17:59:55 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 17:59:55 +0100
commitdd9f052591e482c57c57a92e2c7cc4b0470fe275 (patch)
tree49839da2813e007d1a3e015877d54f0053df97f2 /src/login/logind-dbus.c
parentdbfa3fbbe423bfaa6b5e864cce51724f8ddfb64f (diff)
logind: fix serialization for PrepareForSleep boolean
Diffstat (limited to 'src/login/logind-dbus.c')
-rw-r--r--src/login/logind-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 532b48ff6b..dcfd25d69b 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(