chiark / gitweb /
sd-device: uniformly handle missing devices
authorTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:53:02 +0000 (14:53 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:06:45 +0000 (08:06 +0100)
commit092ac9b6200b0c82a877713af54b665d3ea558e8
tree4dd50758e9b67381e1f06f3c08cd4c0681c7d02d
parentcce593bad53de280f0d69dbc24c8be420b185b95
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/libelogind/sd-device/sd-device.c
src/libsystemd/sd-device/device-enumerator.c