You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
33 lines
1.2 KiB
From 42a11f89c8836493847a69906ef2765e2e984dbf Mon Sep 17 00:00:00 2001
|
|
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
Date: Mon, 9 Jan 2023 16:11:04 +0900
|
|
Subject: [PATCH] core/device: downgrade log level for ignored errors
|
|
|
|
(cherry picked from commit 58b0a3e5112a27daa181383458f68955eb081551)
|
|
|
|
Related: RHEL-5988
|
|
---
|
|
src/core/device.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/core/device.c b/src/core/device.c
|
|
index 224fc90835..09b7d56e1e 100644
|
|
--- a/src/core/device.c
|
|
+++ b/src/core/device.c
|
|
@@ -1095,13 +1095,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;
|
|
}
|
|
|