diff options
author | Roland McGrath <roland@redhat.com> | 2003-06-26 22:29:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2003-06-26 22:29:32 +0000 |
commit | 7c051d2e4c748e1dd2ba9841ad1520ccce296ea4 (patch) | |
tree | d424d5a0bed0506f8cf2dbb31ae1b05eea7376f4 /syscall.c | |
parent | c2aa8ea5f80940b5c3118f630b8d5d8cc886c5c6 (diff) | |
download | strace-7c051d2e4c748e1dd2ba9841ad1520ccce296ea4.tar.gz strace-7c051d2e4c748e1dd2ba9841ad1520ccce296ea4.tar.bz2 strace-7c051d2e4c748e1dd2ba9841ad1520ccce296ea4.tar.xz |
2003-06-26 Roland McGrath <roland@redhat.com>
* syscall.c (force_result) [LINUX] [ARM]: Fix variable usage.
From: Joshua Neal <tinara@netpipeline.net>.
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1658,8 +1658,8 @@ force_result(tcp, error, rval) return -1; #else /* !M68K */ #ifdef ARM - r0 = error ? -error : rval; - if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*0), r0) < 0) + regs.ARM_r0 = error ? -error : rval; + if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*0), regs.ARM_r0) < 0) return -1; #else /* !ARM */ #ifdef ALPHA |