]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: eth-raw: do not close the console input
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 27 Oct 2020 19:29:21 +0000 (20:29 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 16:11:30 +0000 (09:11 -0700)
commit6eec4b04a2d12e6efe7744ff1221597b15c9b2ed
treed93e351313f26c0b67beff69a818ad1abf2465f6
parent35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186
sandbox: eth-raw: do not close the console input

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.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/eth-raw-os.c
arch/sandbox/cpu/os.c