diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-06 10:22:13 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-06 10:22:13 +0100 |
commit | 6b9a7f5d4916e516793cee08e71acc83cdc6bce1 (patch) | |
tree | 7350d737c08948205d5f514640ff7e9f55932eee /package/strace/patches/patch-syscall_c | |
parent | d47b08c6ced262abc697994f69f42474ce3dec67 (diff) | |
parent | 8d99513b10d0b93c1468a8f39218d58f2e861d7f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strace/patches/patch-syscall_c')
-rw-r--r-- | package/strace/patches/patch-syscall_c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/strace/patches/patch-syscall_c b/package/strace/patches/patch-syscall_c new file mode 100644 index 000000000..810e70d35 --- /dev/null +++ b/package/strace/patches/patch-syscall_c @@ -0,0 +1,13 @@ +from git +http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=blobdiff;f=syscall.c;h=a56d7df44874389fbd1d171a94698d07a1e5555a;hp=4f46bf63d180feae18480b697764257947af699b;hb=2ee50b7;hpb=c8c6698ef7cde83a496b273672a51ec2a8f14fb3 +--- strace-4.5.19.orig/syscall.c 2009-10-12 21:54:21.000000000 +0200 ++++ strace-4.5.19/syscall.c 2010-02-28 19:14:28.000000000 +0100 +@@ -2035,7 +2035,7 @@ syscall_enter(struct tcb *tcp) + else + nargs = tcp->u_nargs = MAX_ARGS; + +- if (ptrace (PTRACE_GETREGS, pid, NULL, (long) ®s) < 0) ++ if (ptrace (PTRACE_GETREGS, tcp->pid, NULL, (long) ®s) < 0) + return -1; + + for(i = 0; i < nargs; i++) { |