1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

core/device: device_found_node() does not accept DEVICE_FOUND_UDEV

This commit is contained in:
Yu Watanabe 2022-04-29 22:27:53 +09:00
parent 0e38cee883
commit 03a94b73c4

View File

@ -971,6 +971,7 @@ static int validate_node(const char *node, sd_device **ret) {
void device_found_node(Manager *m, const char *node, DeviceFound found, DeviceFound mask) {
assert(m);
assert(node);
assert(!FLAGS_SET(mask, DEVICE_FOUND_UDEV));
if (!udev_available())
return;