[PATCH 1/1] sandbox: don't call os_close with invalid file descriptor

Tom Rini trini at konsulko.com
Thu Apr 18 05:40:18 CEST 2024


On Wed, 10 Apr 2024 23:50:34 +0200, Heinrich Schuchardt wrote:

> If open() fails it returns -1. Calling close() with this value
> makes no sense. Return -EIO instead.
> 
> 

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list