[CRIU] [PATCH] parasite: typo fix

Andrew Vagin avagin at openvz.org
Mon May 27 01:33:41 EDT 2013


regs_orig is a pointer on struct user_task_regs

Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 parasite-syscall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parasite-syscall.c b/parasite-syscall.c
index f44f406..37ba7af 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -133,7 +133,7 @@ retry_signal:
 		 * and retry.
 		 */
 
-		if (ptrace(PTRACE_SETREGS, pid, NULL, &regs_orig)) {
+		if (ptrace(PTRACE_SETREGS, pid, NULL, regs_orig)) {
 			pr_perror("Can't set registers (pid: %d)", pid);
 			goto err;
 		}
-- 
1.8.2.1



More information about the CRIU mailing list