On 13/03/2017 16:51, Tim Harvey wrote: > Signed-off-by: Tim Harvey <thar...@gateworks.com> > --- > board/gateworks/gw_ventana/gw_ventana.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/gateworks/gw_ventana/gw_ventana.c > b/board/gateworks/gw_ventana/gw_ventana.c > index ba648f5..22a3c8e 100644 > --- a/board/gateworks/gw_ventana/gw_ventana.c > +++ b/board/gateworks/gw_ventana/gw_ventana.c > @@ -739,7 +739,7 @@ int misc_init_r(void) > > /* Set a non-initialized hwconfig based on board configuration */ > if (!strcmp(getenv("hwconfig"), "_UNKNOWN_")) { > - sprintf(buf, "hwconfig="); > + buf[0] = 0; > if (gpio_cfg[board_type].rs232_en) > strcat(buf, "rs232;"); > for (i = 0; i < gpio_cfg[board_type].dio_num; i++) { > Reviewed-by: Stefano Babic <sba...@denx.de>
Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot