When the sandbox eth-raw device host_lo is removed this leads to closing the console input.
Do not call close(0). Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> Reviewed-by: Simon Glass <s...@chromium.org> --- v3: no change v2: no change --- arch/sandbox/cpu/eth-raw-os.c | 8 ++++---- arch/sandbox/cpu/os.c | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) Applied to u-boot-dm, thanks!