modprobe: parse empty options correctly
authorJon Masters <jcm@jonmasters.org>
Wed, 11 Feb 2009 00:36:28 +0000 (19:36 -0500)
committerJon Masters <jcm@jonmasters.org>
Wed, 11 Feb 2009 00:36:28 +0000 (19:36 -0500)
commitdc03b7f879f23746e10ffdafd210a4b6f4ae111a
tree6229f4fe543fc912ca386006c5b0aef8eeff6c94
parent37a811090ffbf9426354e8cc005f5c42b2a5b2b7
modprobe: parse empty options correctly

When pre-pending module options, only insert a space if there was
already an option parsed previously, otherwise just copy verbatim.

Signed-off-by: Jon Masters <jcm@jonmasters.org>
modprobe.c