summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index e899935..2dac8a8 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -566,9 +566,8 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv)
INIT_G();
- IF_LONG_OPTS(applet_long_options = modprobe_longopts;)
opt_complementary = MODPROBE_COMPLEMENTARY;
- opt = getopt32(argv, INSMOD_OPTS MODPROBE_OPTS INSMOD_ARGS);
+ opt = getopt32long(argv, INSMOD_OPTS MODPROBE_OPTS, modprobe_longopts INSMOD_ARGS);
argv += optind;
/* Goto modules location */