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: abeb272d ("tiny-printf: Support snprintf()") Reviewed-by: NStefan Roese <sr@denx.de> Acked-by: NMarek Vasut <marex@denx.de> Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录