2003-01-09 Roland McGrath <roland@redhat.com>
* syscall.c (force_result) [S390 || S390X]: Fix typo.
This commit is contained in:
parent
5694e80e14
commit
d38809b8bd
@ -1479,7 +1479,7 @@ force_result(tcp, error, rval)
|
||||
#ifdef LINUX
|
||||
#if defined(S390) || defined(S390X)
|
||||
gpr2 = error ? -error : rval;
|
||||
if (upeek(pid, PT_GPR2, &gpr2) < 0)
|
||||
if (upeek(tcp->pid, PT_GPR2, &gpr2) < 0)
|
||||
return -1;
|
||||
if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user