login: use log_device_*()

This commit is contained in:
Yu Watanabe 2018-10-22 12:54:27 +09:00
parent b6124e64a5
commit 76386309b8
2 changed files with 2 additions and 2 deletions

View file

@ -206,7 +206,7 @@ int devnode_acl_all(const char *seat,
if (sd_device_get_devname(d, &node) < 0)
continue;
log_debug("Found udev node %s for seat %s", node, seat);
log_device_debug(d, "Found udev node %s for seat %s", node, seat);
r = set_put_strdup(nodes, node);
if (r < 0)
return r;

View file

@ -268,7 +268,7 @@ int manager_process_seat_device(Manager *m, sd_device *d) {
sn = "seat0";
if (!seat_name_is_valid(sn)) {
log_warning("Device with invalid seat name %s found, ignoring.", sn);
log_device_warning(d, "Device with invalid seat name %s found, ignoring.", sn);
return 0;
}