diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-12 12:48:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-03-24 16:19:05 +0100 |
commit | 87afc766d199642c6da956657b05690a39542856 (patch) | |
tree | 6bd34c3b739a992e6762c3d8000e0ab0d37dd25a /src/udev/udevd.c | |
parent | bpf-firewall: invert test (diff) | |
download | systemd-87afc766d199642c6da956657b05690a39542856.tar.xz systemd-87afc766d199642c6da956657b05690a39542856.zip |
udev: update comment and log message
Diffstat (limited to '')
-rw-r--r-- | src/udev/udevd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 41d0ec1e13..0407068d51 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1448,10 +1448,11 @@ static int on_sigchld(sd_event_source *s, const struct signalfd_siginfo *si, voi device_tag_index(worker->event->dev, NULL, false); if (manager->monitor) { - /* forward kernel event without amending it */ + /* Forward kernel event unchanged */ r = device_monitor_send_device(manager->monitor, NULL, worker->event->dev_kernel); if (r < 0) - log_device_error_errno(worker->event->dev_kernel, r, "Failed to send back device to kernel: %m"); + log_device_warning_errno(worker->event->dev_kernel, r, + "Failed to broadcast failed event to libudev listeners, ignoring: %m"); } } |