summaryrefslogtreecommitdiffstats
path: root/Grow.c
diff options
context:
space:
mode:
authorLukasz Florczak <lukasz.florczak@linux.intel.com>2022-03-15 09:30:30 +0100
committerJes Sorensen <jsorensen@fb.com>2022-03-15 17:20:04 +0100
commitf1cc8ab9ab6a92c3cd94ab7590b46285e214681e (patch)
tree02d5dc10bfbd3de39d768393bb6476734a9b0e89 /Grow.c
parentRelease mdadm-4.2 (diff)
downloadmdadm-f1cc8ab9ab6a92c3cd94ab7590b46285e214681e.tar.xz
mdadm-f1cc8ab9ab6a92c3cd94ab7590b46285e214681e.zip
Unify error message.
Provide the same error message for the same error that can occur in Grow.c and super-intel.c. Signed-off-by: Lukasz Florczak <lukasz.florczak@linux.intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Grow.c')
-rw-r--r--Grow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Grow.c b/Grow.c
index 9c6fc95e..9a947204 100644
--- a/Grow.c
+++ b/Grow.c
@@ -1001,8 +1001,8 @@ int remove_disks_for_takeover(struct supertype *st,
rv = 1;
sysfs_free(arrays);
if (rv) {
- pr_err("Error. Cannot perform operation on /dev/%s\n", st->devnm);
- pr_err("For this operation it MUST be single array in container\n");
+ pr_err("Error. Cannot perform operation on %s- for this operation "
+ "it MUST be single array in container\n", st->devnm);
return rv;
}
}