summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-04 10:35:46 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-04 10:36:08 +0200
commit2cf088b56d72cb6a3243041524f1fbae7c1cb28e (patch)
tree359e7367df50dc40d5187c6b899fb9ff91c10564 /src
parent5744f59a3ee883ef3a78214bd5236157acdc35ba (diff)
logind: when parsing a boolean via sd-bus the type must be "int"
And not bool.
Diffstat (limited to 'src')
-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 281314f03a..7cc68d4865 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2293,7 +2293,7 @@ static int method_set_wall_message(
int r;
Manager *m = userdata;
char *wall_message;
- bool enable_wall_messages;
+ int enable_wall_messages;
assert(message);
assert(m);