summaryrefslogtreecommitdiff
path: root/modutils/modprobe-small.c
diff options
context:
space:
mode:
authorFelipe Contreras2012-01-31 14:55:15 +0100
committerDenys Vlasenko2012-01-31 14:55:15 +0100
commit428bd2d4337dbd83feb3c7d1fc04d840f548003c (patch)
tree716b1d6a6c6f09b1a03af7b1088669aca1ec6bd6 /modutils/modprobe-small.c
parentc0657e0d0a3a818e2c857f99f0b0ddf936324fdb (diff)
downloadbusybox-428bd2d4337dbd83feb3c7d1fc04d840f548003c.zip
busybox-428bd2d4337dbd83feb3c7d1fc04d840f548003c.tar.gz
modprobe: accept -b even if blacklist functionality is disabled
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r--modutils/modprobe-small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index f5b283b..5ea1be9 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 */