]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: fix error handling of sd_device_get_parent()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 Jun 2020 04:48:44 +0000 (13:48 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 Jun 2020 04:52:38 +0000 (13:52 +0900)
commitbc568a7a35f04cb052eadcd068e14fe60f6a5c0d
tree7d3efb5e404ce71b99c0310533677b21011fb96a
parent2a71d57f4e63e4492a7c2d6d747e498d0c5521cd
udev: fix error handling of sd_device_get_parent()

sd_device_get_parent() returns -EINVAL or -ENOENT on error, not -ENODEV.

Fixes #16207.
src/udev/udev-event.c