Skip to content
Commit 417c18c9 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Chris Friedt
Browse files

tests: posis/fs: close only valid descriptor



Only call close() if open() has not returned a negative
value.

Fixes CID 211585

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent a053c55c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment