commit | 121dd4914ea6b597853f7237063d02eab4e9ad3e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Sep 20 09:24:29 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 03 11:52:16 2024 -0600 |
tree | a23cadbf9a98f9a2659296e00188e39acabff964 | |
parent | d6fce7dec60d2f294d7c641b6d9785373e865999 [diff] |
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: Simon Glass <sjg@chromium.org>