[Buildroot] [PATCH 2/3] eudev: fix printf usage in init script
Peter Korsgaard
peter at korsgaard.com
Wed Jan 31 12:36:08 UTC 2018
>>>>> "Carlos" == Carlos Santos <casantos at datacom.ind.br> writes:
> 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 at datacom.ind.br>
Committed to 2017.02.x and 2017.11.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list