]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
login: use log_device_*()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Oct 2018 03:54:27 +0000 (12:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 23 Oct 2018 13:44:07 +0000 (22:44 +0900)
src/login/logind-acl.c
src/login/logind-core.c

index 5453ebb0a1d66e42fc49b11f7815ff520bb932a5..d2f4e60f98106041f9bdff517b754d22596cde77 100644 (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;
index 7aa9300d4b1b14a76d5c26f0b68cd214fb9c0b2e..2f37c68aeb085e043dffef2b48d5a02b9d193d68 100644 (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;
                 }