diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2011-12-27 17:45:24 -0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-09 20:40:29 +0100 |
commit | 6a6b254354ecb71e67be5fdb87e869adf075c6f6 (patch) | |
tree | 54c4199db7f6fe8b59fc9e913b641104fa028b61 | |
parent | 1111415a7587a669f9958ef9406c42572e80ff2b (diff) |
builtin: kmod - log if modules are blacklisted
-rw-r--r-- | src/udev-builtin-kmod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev-builtin-kmod.c b/src/udev-builtin-kmod.c index 6719432c08..68536f17ff 100644 --- a/src/udev-builtin-kmod.c +++ b/src/udev-builtin-kmod.c @@ -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); |