Commit 21c663dc authored by Pavel Emelyanov's avatar Pavel Emelyanov

dump: Use pr_err when reporting error about locks in use and no -l option

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a7325952
...@@ -1084,7 +1084,7 @@ static int collect_file_locks(const struct cr_options *opts) ...@@ -1084,7 +1084,7 @@ static int collect_file_locks(const struct cr_options *opts)
* be used by container dumping. * be used by container dumping.
*/ */
if (!list_empty(&file_lock_list)) { 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."); "You can try -l to dump them.");
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment