1
0
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:
Lucas De Marchi 2011-12-27 17:45:24 -02:00 committed by Kay Sievers
parent 1111415a75
commit 6a6b254354

View File

@ -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);