From: Roland McGrath Date: Fri, 20 Feb 2004 02:23:30 +0000 (+0000) Subject: 2004-01-13 Roland McGrath X-Git-Tag: v4.5.18~646 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=182aa38bb22283612dbed7cfa82f972529ee196e;p=strace 2004-01-13 Roland McGrath * syscall.c (force_result) [LINUX] [S390 || S390X]: Remove bogus upeek call. --- diff --git a/syscall.c b/syscall.c index 3b482ba3..2a04c2a4 100644 --- a/syscall.c +++ b/syscall.c @@ -1592,8 +1592,6 @@ force_result(tcp, error, rval) #ifdef LINUX #if defined(S390) || defined(S390X) gpr2 = error ? -error : rval; - if (upeek(tcp->pid, PT_GPR2, &gpr2) < 0) - return -1; if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0) return -1; #else /* !S390 && !S390X */