]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools: Use options_from_array in insmod
authorTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 23 Oct 2024 21:52:05 +0000 (23:52 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 24 Oct 2024 03:10:39 +0000 (22:10 -0500)
commit7155cf1db5a7879ffa9b2710e50628da3c32627a
tree00dfc12eb0702da2eb95890d34134560ed87f1b4
parenta3787fb134aa9a96db3c97891715108db882c80d
tools: Use options_from_array in insmod

Adjust arguments of options_from_array to avoid skipping the first
array entry because that's not intuitive based on its function name.

Fixes insmod's handling of module options given as quoted command line
arguments.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/204
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/insmod.c
tools/modprobe.c
tools/opt.c