diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-01-31 14:55:15 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-01-31 14:55:15 +0100 |
commit | 428bd2d4337dbd83feb3c7d1fc04d840f548003c (patch) | |
tree | 716b1d6a6c6f09b1a03af7b1088669aca1ec6bd6 /modutils/modprobe-small.c | |
parent | c0657e0d0a3a818e2c857f99f0b0ddf936324fdb (diff) | |
download | busybox-w32-428bd2d4337dbd83feb3c7d1fc04d840f548003c.tar.gz busybox-w32-428bd2d4337dbd83feb3c7d1fc04d840f548003c.tar.bz2 busybox-w32-428bd2d4337dbd83feb3c7d1fc04d840f548003c.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
805 | opt_complementary = "-1"; | 805 | opt_complementary = "-1"; |
806 | /* only -q (quiet) and -r (rmmod), | 806 | /* only -q (quiet) and -r (rmmod), |
807 | * the rest are accepted and ignored (compat) */ | 807 | * the rest are accepted and ignored (compat) */ |
808 | getopt32(argv, "qrfsvw"); | 808 | getopt32(argv, "qrfsvwb"); |
809 | argv += optind; | 809 | argv += optind; |
810 | 810 | ||
811 | /* are we rmmod? -> simulate modprobe -r */ | 811 | /* are we rmmod? -> simulate modprobe -r */ |