From 428bd2d4337dbd83feb3c7d1fc04d840f548003c Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Tue, 31 Jan 2012 14:55:15 +0100 Subject: modprobe: accept -b even if blacklist functionality is disabled Signed-off-by: Felipe Contreras Signed-off-by: Denys Vlasenko --- modutils/modprobe-small.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modutils/modprobe-small.c') diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index f5b283b47..5ea1be99d 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c @@ -805,7 +805,7 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv) opt_complementary = "-1"; /* only -q (quiet) and -r (rmmod), * the rest are accepted and ignored (compat) */ - getopt32(argv, "qrfsvw"); + getopt32(argv, "qrfsvwb"); argv += optind; /* are we rmmod? -> simulate modprobe -r */ -- cgit v1.2.3