sd-device: don't accept /sys as a device path
Because it's not a device path and (slightly) bad things happen if it gets confused with one: $ udevadm info /sys/ Assertion 'device->devpath[0] == '/'' failed at ../src/libsystemd/sd-device/sd-device.c:958, function sd_device_get_devpath(). Aborting. Aborted (core dumped) (cherry picked from commit c4f885e7) (cherry picked from commit 56825768) (cherry picked from commit 8ab43b02)
Loading
Please register or sign in to comment