summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-12-27 17:45:24 -0200
committerKay Sievers <kay.sievers@vrfy.org>2012-01-09 20:40:29 +0100
commit6a6b254354ecb71e67be5fdb87e869adf075c6f6 (patch)
tree54c4199db7f6fe8b59fc9e913b641104fa028b61 /src
parent1111415a7587a669f9958ef9406c42572e80ff2b (diff)
builtin: kmod - log if modules are blacklisted
Diffstat (limited to 'src')
-rw-r--r--src/udev-builtin-kmod.c2
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);