Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
54d18a279a01b4643bad4c98e13f365d7dc2cc75
/
.
/
linux
/
alpha
/
get_error.c
blob: ddf3dae9c5175f8634ebf4290bc772b0dc94eddb [
file
] [
log
] [
blame
]
static
void
get_error
(
struct
tcb
*
tcp
,
const
bool
check_errno
)
{
if
(
check_errno
&&
alpha_a3
)
{
tcp
->
u_rval
=
-
1
;
tcp
->
u_error
=
alpha_r0
;
}
else
{
tcp
->
u_rval
=
alpha_r0
;
}
}