summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-07 10:13:54 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit92620c6136bccad656e5c835b96592dc0d916c5a (patch)
tree295c93ebb7cac5392074494f22a2738266c47547 /src/login
parentae65b9397cd36e4af5c34b5f0760e75d5635198e (diff)
login: change variable type of enable_wall_messages as it matches Manager.enable_wall_messages
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-dbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index d2b41b501..50349c176 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -1274,7 +1274,7 @@ static int method_set_user_linger(sd_bus_message *message, void *userdata, sd_bu
}
static int trigger_device(Manager *m, struct udev_device *d) {
- _cleanup_udev_enumerate_unref_ struct udev_enumerate *e = NULL;
+ _cleanup_(udev_enumerate_unrefp) struct udev_enumerate *e = NULL;
struct udev_list_entry *first, *item;
int r;
@@ -1312,7 +1312,7 @@ static int trigger_device(Manager *m, struct udev_device *d) {
}
static int attach_device(Manager *m, const char *seat, const char *sysfs) {
- _cleanup_udev_device_unref_ struct udev_device *d = NULL;
+ _cleanup_(udev_device_unrefp) struct udev_device *d = NULL;
_cleanup_free_ char *rule = NULL, *file = NULL;
const char *id_for_seat;
int r;
@@ -2704,7 +2704,7 @@ static int method_set_wall_message(
int r;
Manager *m = userdata;
char *wall_message;
- int enable_wall_messages;
+ unsigned enable_wall_messages;
assert(message);
assert(m);