[U-Boot] tiny printf limits

Shouldn't tiny printf abort or something when it encounters a printf format string it doesn't support? Right now, it just silently skips it while leaving the associated argument in place, resulting in the arguments getting shifted onto the wrong format strings.

On Tue, Dec 05, 2017 at 02:06:17PM -0500, Frank Mori Hess wrote:
Shouldn't tiny printf abort or something when it encounters a printf format string it doesn't support? Right now, it just silently skips it while leaving the associated argument in place, resulting in the arguments getting shifted onto the wrong format strings.
It's for tiny situations. If there's a case where something is printing and it's getting printed wrong we need to decide what to do about that print, or the format it's using.
That said, if you can, in a tiny way, make the code behave better, I'd be happy to review that too. Thanks!
participants (2)
-
Frank Mori Hess
-
Tom Rini