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

sandbox: Correct loss of early output in SPL



At present fputc() is used before the console is available, then write()
is used. These are not compatible. Since fputc() buffers internally it is
better to use the write(), so that a partial line is immediately
displayed.

This has a slight effect on performance, but we are already using write()
for the vast majority of the output with no obvious impacts.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 9859465b
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