mirror of
https://github.com/systemd/systemd.git
synced 2025-03-29 06:50:16 +03:00
builtin: kmod - log if modules are blacklisted
This commit is contained in:
parent
1111415a75
commit
6a6b254354
@ -50,6 +50,8 @@ static int load_module(struct udev *udev, const char *alias)
|
||||
|
||||
if (list == NULL)
|
||||
info(udev, "no module matches '%s'\n", alias);
|
||||
else if (listb == NULL)
|
||||
info(udev, "modules matching '%s' are blacklisted\n", alias);
|
||||
|
||||
kmod_list_foreach(l, listb) {
|
||||
struct kmod_module *mod = kmod_module_get_module(l);
|
||||
|
Loading…
x
Reference in New Issue
Block a user