chiark / gitweb /
logind: fix serialization for PrepareForSleep boolean
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Nov 2013 16:59:55 +0000 (17:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 Nov 2013 16:59:55 +0000 (17:59 +0100)
src/login/logind-dbus.c

index 532b48f..dcfd25d 100644 (file)
@@ -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(