Skip to content
Commit b973e9a2 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

tiny-printf: Correct return values



The sprintf() etc. functions are supposed to return the length of the
string written, but do not. Fix this by checking the amount of buffer
space used.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent f51115f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment