[CRIU] [PATCH 6/7] prepare_sigactions(): use pr_perror()

Kir Kolyshkin kir at openvz.org
Wed Oct 7 09:19:52 PDT 2015


Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 cr-restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-restore.c b/cr-restore.c
index 33205e4..1abfd16 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -721,7 +721,7 @@ static int prepare_sigactions(void)
 		 */
 		ret = sys_sigaction(sig, &act, NULL, sizeof(k_rtsigset_t));
 		if (ret == -1) {
-			pr_err("%d: Can't restore sigaction: %m\n", pid);
+			pr_perror("%d: Can't restore sigaction", pid);
 			goto err;
 		}
 
-- 
2.4.3



More information about the CRIU mailing list