[CRIU] [PATCH] files: use pr_err instead of pr_perror
Andrey Vagin
avagin at openvz.org
Thu Jun 2 16:20:18 PDT 2016
From: Andrew Vagin <avagin at virtuozzo.com>
Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
criu/files.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/files.c b/criu/files.c
index 16bc74d..0eb5e44 100644
--- a/criu/files.c
+++ b/criu/files.c
@@ -394,7 +394,7 @@ static int dump_one_file(struct parasite_ctl *ctl, int fd, int lfd, struct fd_op
const struct fdtype_ops *ops;
if (fill_fd_params(ctl, fd, lfd, opts, &p) < 0) {
- pr_perror("Can't get stat on %d", fd);
+ pr_err("Can't get stat on %d\n", fd);
return -1;
}
--
2.7.4
More information about the CRIU
mailing list