Skip to content
Commit 52d01197 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Adhemerval Zanella
Browse files

MIPS: Setup errno for {f,l,}xstat



{f,l,}xstat stub for MIPS is using INTERNAL_SYSCALL
to do xstat syscall for glibc ver, However it leaves
errno untouched and thus giving bad errno output.

Setup errno properly when syscall returns non-zero.

Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>

(cherry picked from commit 66016ec8)
parent f2413f27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment