]> git.sur5r.net Git - u-boot/commit
strings: use puts() rather than printf()
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 Nov 2008 21:03:46 +0000 (16:03 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 7 Dec 2008 00:17:19 +0000 (01:17 +0100)
commit774ce72026f74ac9641bcbbc588b20f2e13f7ab8
treec97f6981bb3a2c7a9acb0d26e2f4f0688bb2a747
parentb03150b52e3c491a86a3cc0945274f0e8f9872e7
strings: use puts() rather than printf()

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@gentoo.org>
common/cmd_strings.c