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

Wolfgang Denk wd at denx.de
Sun Dec 7 01:17:36 CET 2008


Dear Mike Frysinger,

In message <1225832627-10248-1-git-send-email-vapier at gentoo.org> you 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.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/cmd_strings.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never call a man a fool.  Borrow from him.


More information about the U-Boot mailing list