]> granicus.if.org Git - strace/commitdiff
2004-01-13 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Fri, 20 Feb 2004 02:23:30 +0000 (02:23 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 20 Feb 2004 02:23:30 +0000 (02:23 +0000)
* syscall.c (force_result) [LINUX] [S390 || S390X]: Remove bogus upeek
call.

syscall.c

index 3b482ba3c0ffe71c84269ba109920f7dfb911995..2a04c2a47a60bab42f9b9e017f537402094094ad 100644 (file)
--- 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 */