commit | b4a7ba12cf0c30e3cfddce40a4ff8d884a8abc67 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 08 20:55:15 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Jun 09 13:52:53 2016 -0400 |
tree | 4ee4b34a53ec766e18389fc6d6439ba2690f156c | |
parent | f627ef163d4f1f93ce43a3293d7a9fa4f09459b3 [diff] |
tiny-printf: Correct the snprintf() implementation This current code passes the variable arguments list to sprintf(). This is not correct. Fix it by calling _vprintf() directly. This makes firefly-rk3288 boot again. Fixes: abeb272 ("tiny-printf: Support snprintf()") Reviewed-by: Stefan Roese <sr@denx.de> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>