Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
d70d1c4aa6b9b2f4713d79f442dbf66a3f702c9b
/
.
/
linux
/
sparc64
/
get_error.c
blob: ee3a7e50f706cb3ef4ec68cb4f3d255f9c256451 [
file
] [
log
] [
blame
]
if
(
check_errno
&&
sparc_regs
.
tstate
&
0x1100000000UL
)
{
tcp
->
u_rval
=
-
1
;
tcp
->
u_error
=
sparc_regs
.
u_regs
[
U_REG_O0
];
}
else
{
tcp
->
u_rval
=
sparc_regs
.
u_regs
[
U_REG_O0
];
}