[CRIU] [PATCH 3/3] seize: remove extra \n from the error message

Andrey Vagin avagin at openvz.org
Fri Jan 15 18:57:54 PST 2016


From: Andrew Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 seize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/seize.c b/seize.c
index 18f0d40..17ec830 100644
--- a/seize.c
+++ b/seize.c
@@ -225,7 +225,7 @@ static int freezer_detach(void)
 		pid = atoi(path);
 
 		if (ptrace(PTRACE_DETACH, pid, NULL, NULL))
-			pr_perror("Unable to detach from %d\n", pid);
+			pr_perror("Unable to detach from %d", pid);
 	}
 	fclose(f);
 	return 0;
-- 
2.4.3



More information about the CRIU mailing list