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:
parent
0e38cee883
commit
03a94b73c4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user