From 6a6b254354ecb71e67be5fdb87e869adf075c6f6 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 27 Dec 2011 17:45:24 -0200 Subject: [PATCH] builtin: kmod - log if modules are blacklisted --- src/udev-builtin-kmod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/udev-builtin-kmod.c b/src/udev-builtin-kmod.c index 6719432..68536f1 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); -- 2.7.4