modprobe: fix typo in config dump: option->options
authorElan Ruusamäe <glen@delfi.ee>
Thu, 22 Mar 2012 15:00:16 +0000 (12:00 -0300)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 22 Mar 2012 15:00:16 +0000 (12:00 -0300)
commit02629fa02e96763db7460a930239cc93649a52f8
tree5485ed778e99f783fafd4d10fbc07a315083ae58
parent314719c58132ba3b9ef3fd3f8c3beabaefbe68af
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
tools/kmod-modprobe.c