eudev: fix printf usage in init script
authorCarlos Santos <casantos@datacom.ind.br>
Tue, 30 Jan 2018 04:07:19 +0000 (02:07 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Jan 2018 21:58:17 +0000 (22:58 +0100)
commit6298ed8bf46dd546d4ee7244136f2f9bad82ecad
treed27ab35f39741a7c1fc9d69c4f76c1a1f0526ad3
parent3f568fe09948369831c36a713f5a47fe4c2d19b6
eudev: fix printf usage in init script

Using a variable in a printf format string may lead to undesirable
results if the variable contains format controls, so replace

    printf "foo $var bar"

by

    printf "foo %s bar" "$var"

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/eudev/S10udev