summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-04-04 05:16:29 +0000
committerNeil Brown <neilb@suse.de>2005-04-04 05:16:29 +0000
commite6b64cd05c6e68f6f915993d79c146b46907dab2 (patch)
tree78f35728bf256bdd2a8399fdfb7285832eb3756c /mdadm.c
parent6f7e85bd16fee8ef8bdff787bb361609542d7748 (diff)
downloadmdadm-e6b64cd05c6e68f6f915993d79c146b46907dab2.tar.gz
mdadm-e6b64cd05c6e68f6f915993d79c146b46907dab2.tar.xz
mdadm-e6b64cd05c6e68f6f915993d79c146b46907dab2.zip
Improve error message when mode is set twice.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.c b/mdadm.c
index 798d638..868a48b 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -172,7 +172,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "--%s", long_options[option_index].name);
else
fprintf(stderr, "-%c", opt);
- fprintf(stderr, " would set mode to %s, but it is already %s.\n",
+ fprintf(stderr, " would set mdadm mode to \"%s\", but it is already set to \"%s\".\n",
map_num(modes, newmode),
map_num(modes, mode));
exit(2);