]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: uniformly handle missing devices
authorTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:53:02 +0000 (14:53 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:55:40 +0000 (14:55 +0200)
commit08232a020bd2571088d3ee06dda07732c5e963d1
tree374954858fddeaf31cf23b84f453a52b117ced51
parentdee5e0b6c29ca22cbf67d28fbee195d70b0dde72
sd-device: uniformly handle missing devices

sd_device_new_from_* now returns -ENODEV when the device does not exist, and the enumerator
silently drops these errors as missing devices is exepected.
src/libsystemd/sd-device/device-enumerator.c
src/libsystemd/sd-device/sd-device.c