2003-01-09 Roland McGrath <roland@redhat.com>

* syscall.c (force_result) [S390 || S390X]: Fix typo.
This commit is contained in:
Roland McGrath 2003-01-10 07:50:21 +00:00
parent 5694e80e14
commit d38809b8bd

View File

@ -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;