]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-device: use log_device_debug_errno()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 8 Jul 2020 01:35:45 +0000 (10:35 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 8 Jul 2020 10:11:19 +0000 (12:11 +0200)
src/libsystemd/sd-device/sd-device.c

index 13596f2303591c32ad6d4b04f08aa2d9d075955d..bd3b67c55c46ed1dc39cef0c2f0a6019eeb55c8e 100644 (file)
@@ -1586,7 +1586,7 @@ static int device_sysattrs_read_all_internal(sd_device *device, const char *subd
                         /* this is a child device, skipping */
                         return 0;
                 if (errno != ENOENT) {
-                        log_debug_errno(errno, "Failed to stat %s, ignoring subdir: %m", p);
+                        log_device_debug_errno(device, errno, "sd-device: Failed to stat %s, ignoring subdir: %m", p);
                         return 0;
                 }