From 21c663dc01f81e2440a19f0e88b8358dc0de78e1 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Tue, 26 Mar 2013 19:27:43 +0400 Subject: [PATCH] dump: Use pr_err when reporting error about locks in use and no -l option Signed-off-by: Pavel Emelyanov --- cr-dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-dump.c b/cr-dump.c index 8629676ec..363d0e51c 100644 --- a/cr-dump.c +++ b/cr-dump.c @@ -1084,7 +1084,7 @@ static int collect_file_locks(const struct cr_options *opts) * be used by container dumping. */ if (!list_empty(&file_lock_list)) { - pr_perror("Some file locks are hold by dumping tasks!" + pr_err("Some file locks are hold by dumping tasks!" "You can try -l to dump them."); return -1; }