mesa/src/gallium/auxiliary/os
Vinson Lee b2a21febe0 os: Fix open result check.
Fix defect reported by Coverity Scan.

Argument cannot be negative (NEGATIVE_RETURNS)
negative_returns: f is passed to a parameter that cannot be negative.

CID: 1364709
Fixes: 13fa051356 ("auxiliary/os: add new os_get_command_line() function")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7344>
2020-11-02 18:37:00 +00:00
..
os_mman.h gallium/os: use mmap64 for Android 2017-05-25 15:00:34 -05:00
os_process.c os: Fix open result check. 2020-11-02 18:37:00 +00:00
os_process.h auxiliary/os: add new os_get_command_line() function 2016-08-01 12:20:19 -06:00
os_thread.h util: consolidate thread_get_time functions 2020-10-30 05:07:57 +00:00