diff options
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r-- | modutils/modprobe-small.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index cd4f554..a94b0b9 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c @@ -988,10 +988,9 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv) #if ENABLE_MODPROBE || ENABLE_INSMOD || ENABLE_RMMOD /* modprobe, insmod, rmmod require at least one argument */ - opt_complementary = "-1"; /* only -q (quiet) and -r (rmmod), * the rest are accepted and ignored (compat) */ - getopt32(argv, "qrfsvwb"); + getopt32(argv, "^" "qrfsvwb" "\0" "-1"); argv += optind; if (is_modprobe) { |