From ce4cd8d49d7c5204161d0406a076734c9d6d17a6 Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Mon, 27 May 2013 15:24:31 +0400 Subject: [PATCH] parasite: typo fix regs_orig is a pointer on struct user_task_regs Signed-off-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- parasite-syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parasite-syscall.c b/parasite-syscall.c index f44f40605..37ba7afac 100644 --- a/parasite-syscall.c +++ b/parasite-syscall.c @@ -133,7 +133,7 @@ retry_signal: * and retry. */ - if (ptrace(PTRACE_SETREGS, pid, NULL, ®s_orig)) { + if (ptrace(PTRACE_SETREGS, pid, NULL, regs_orig)) { pr_perror("Can't set registers (pid: %d)", pid); goto err; }