modprobe: fix dump_config
commit95ff1ab26c50f25ba39683878148b86d644eb693
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tue, 16 Mar 2010 11:22:40 +0000 (16 11:22 +0000)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 17 Mar 2010 10:24:57 +0000 (17 10:24 +0000)
treeb11e81f319d2205f3e6e7219d403e3630282ae6f
parent9a3215f20ffe8fbdd941b2c057d3a97b30b22b6d
modprobe: fix dump_config

I broke this when refactoring the config handling.  --show-config
ended up printing the contents of user config files twice. Also
parse_kcmdline() was always called with dump_only=1, regardless of
whether --show-config was requested.
modprobe.c