[U-Boot] [PATCH] strings: use puts() rather than printf()

Scott Wood scottwood at freescale.com
Wed Nov 5 18:14:15 CET 2008


Mike Frysinger wrote:
> When running `strings` on really long strings, the stack tends to get
> smashed due to printf().  Switch to puts() instead since we're only passing
> the data through.

...which raises the question of why we don't have vsnprintf().

-Scott


More information about the U-Boot mailing list