From: Denys Vlasenko Date: Fri, 9 Mar 2012 14:11:21 +0000 (+0100) Subject: Call PTRACE_CONT with addr=0 X-Git-Tag: v4.7~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97c503fa2e9cd02126feae659f133631c8eb36f1;p=strace Call PTRACE_CONT with addr=0 * strace.c (trace): Call PTRACE_CONT with addr=0. Signed-off-by: Denys Vlasenko --- diff --git a/strace.c b/strace.c index e627a5ee..727e490b 100644 --- a/strace.c +++ b/strace.c @@ -1809,7 +1809,7 @@ trace(void) CLONE_PTRACE itself. */ { if (WIFSTOPPED(status)) - ptrace(PTRACE_CONT, pid, (char *) 1, 0); + ptrace(PTRACE_CONT, pid, (char *) 0, 0); error_msg_and_die("Unknown pid: %u", pid); } }