diff options
author | Lukasz Florczak <lukasz.florczak@linux.intel.com> | 2022-03-15 09:30:30 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2022-03-15 12:20:04 -0400 |
commit | f1cc8ab9ab6a92c3cd94ab7590b46285e214681e (patch) | |
tree | 02d5dc10bfbd3de39d768393bb6476734a9b0e89 | |
parent | e30ca260741d727e6f444e8f2ce25fe7a5a26567 (diff) | |
download | mdadm-f1cc8ab9ab6a92c3cd94ab7590b46285e214681e.tar.gz |
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>
-rw-r--r-- | Grow.c | 4 | ||||
-rw-r--r-- | super-intel.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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; } } diff --git a/super-intel.c b/super-intel.c index d5fad102..5ffa7636 100644 --- a/super-intel.c +++ b/super-intel.c @@ -11683,8 +11683,8 @@ enum imsm_reshape_type imsm_analyze_change(struct supertype *st, struct imsm_super *mpb = super->anchor; if (mpb->num_raid_devs > 1) { - pr_err("Error. Cannot perform operation on %s- for this operation it MUST be single array in container\n", - geo->dev_name); + pr_err("Error. Cannot perform operation on %s- for this operation " + "it MUST be single array in container\n", geo->dev_name); change = -1; } } |