Skip to content
Commit 0970cda9 authored by Keith Packard's avatar Keith Packard Committed by Stephanos Ioannidis
Browse files

drivers: Report correct errno in uart_native_posix driver



This driver carefully saved the errno value from the failing call and
then didn't use it in the ERROR report, using the potentially invalid
current errno value (which may have been set by the close call).

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 1c2f3c4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment