files: use pr_err instead of pr_perror

Submitted by Andrei Vagin on June 2, 2016, 11:20 p.m.

Details

Message ID 1464909618-18029-1-git-send-email-avagin@openvz.org
State Accepted
Series "files: use pr_err instead of pr_perror"
Commit 0471ab5154a5639003a9faaa80b73dfa35b3c79e
Headers show

Commit Message

Andrei Vagin June 2, 2016, 11:20 p.m.
From: Andrew Vagin <avagin@virtuozzo.com>

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

Patch hide | download patch | download mbox

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;
 	}
 

Comments

Pavel Emelianov June 7, 2016, 11:47 a.m.
Applied