[CRIU] [PATCH] parasite: typo fix for double pointer on mask of blocked signals

Andrew Vagin avagin at openvz.org
Tue Jul 16 10:47:45 EDT 2013


PTRACE_SETSIGMASK takes pointer on mask of blocked signals,
but sigmask is already pointer.

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 481b34f..a6e253e 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -137,7 +137,7 @@ err:
 		ret = -1;
 	}
 err_sigmask:
-	if (ptrace(PTRACE_SETSIGMASK, pid, sizeof(k_rtsigset_t), &sigmask)) {
+	if (ptrace(PTRACE_SETSIGMASK, pid, sizeof(k_rtsigset_t), sigmask)) {
 		pr_perror("Can't block signals");
 		ret = -1;
 	}
-- 
1.8.3.1



More information about the CRIU mailing list