Skip to content
Commit 448755e6 authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Kumar Gala
Browse files

uart: native_posix: Check fcntl() return value



fcntl() may (very unlikely) fail when setting the new pseudoterminal
to non-blocking.
Let's check for this condition, handle it, and in the process
silence a coverity issue.

Fixes #14396
Coverity CID: 195872

Signed-off-by: default avatarAlberto Escolar Piedras <alpi@oticon.com>
parent 79dc1fee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment