]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
modprobe: Fix error message
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 16 Oct 2024 10:07:24 +0000 (12:07 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 17 Oct 2024 14:24:30 +0000 (09:24 -0500)
We try to add from environment, not from command line.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/185
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/modprobe.c

index 26b252c527ffe48f84e075717b85d8f29c6aacb5..b1e5f48ef4ef9cf82125846e098cd6f682b49b6f 100644 (file)
@@ -824,7 +824,7 @@ static int do_modprobe(int argc, char **orig_argv)
 
        argv = prepend_options_from_env(&argc, orig_argv);
        if (argv == NULL) {
-               ERR("Could not prepend options from command line\n");
+               ERR("Could not prepend options from environment\n");
                return EXIT_FAILURE;
        }