1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-25 06:03:40 +03:00

core/device: downgrade log level for ignored errors

This commit is contained in:
Yu Watanabe 2023-01-09 16:11:04 +09:00
parent eedfef0f0d
commit 58b0a3e511

View File

@ -1124,13 +1124,13 @@ static int device_dispatch_io(sd_device_monitor *monitor, sd_device *dev, void *
r = sd_device_get_syspath(dev, &sysfs);
if (r < 0) {
log_device_error_errno(dev, r, "Failed to get device syspath, ignoring: %m");
log_device_warning_errno(dev, r, "Failed to get device syspath, ignoring: %m");
return 0;
}
r = sd_device_get_action(dev, &action);
if (r < 0) {
log_device_error_errno(dev, r, "Failed to get udev action, ignoring: %m");
log_device_warning_errno(dev, r, "Failed to get udev action, ignoring: %m");
return 0;
}