From: Tobias Stoeckmann Date: Wed, 16 Oct 2024 10:07:24 +0000 (+0200) Subject: modprobe: Fix error message X-Git-Tag: v34~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d99c709e00f15ffc02035a339f7b2d71a2c07b;p=thirdparty%2Fkmod.git modprobe: Fix error message We try to add from environment, not from command line. Signed-off-by: Tobias Stoeckmann Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/185 Signed-off-by: Lucas De Marchi --- diff --git a/tools/modprobe.c b/tools/modprobe.c index 26b252c5..b1e5f48e 100644 --- a/tools/modprobe.c +++ b/tools/modprobe.c @@ -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; }