From: Elan Ruusamäe Date: Thu, 22 Mar 2012 15:00:16 +0000 (-0300) Subject: modprobe: fix typo in config dump: option->options X-Git-Tag: v8~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02629fa02e96763db7460a930239cc93649a52f8;p=thirdparty%2Fkmod.git modprobe: fix typo in config dump: option->options kmod uses "option MODNAME", not "options MODNAME" --- modprobe-sorted.kmod 2012-03-21 22:31:03.751754042 +0200 +++ modprobe-sorted.module-init-tools 2012-03-21 22:30:49.561753089 +0200 @@ -1,6 +1,23 @@ [...] -option uvesafb mode_option=1024x786-32 mtrr=4 scroll=ywrap +options uvesafb mode_option=1024x786-32 mtrr=4 scroll=ywrap This breaks scripts that depend in modprobe -c output grepping --- diff --git a/tools/kmod-modprobe.c b/tools/kmod-modprobe.c index 4760682e..f6d47dc8 100644 --- a/tools/kmod-modprobe.c +++ b/tools/kmod-modprobe.c @@ -218,7 +218,7 @@ static int show_config(struct kmod_ctx *ctx) { "install", kmod_config_get_install_commands }, { "remove", kmod_config_get_remove_commands }, { "alias", kmod_config_get_aliases }, - { "option", kmod_config_get_options }, + { "options", kmod_config_get_options }, { "softdep", kmod_config_get_softdeps }, }; size_t i;