diff options
author | Neil Brown <neilb@suse.de> | 2005-04-04 05:16:29 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-04-04 05:16:29 +0000 |
commit | e6b64cd05c6e68f6f915993d79c146b46907dab2 (patch) | |
tree | 78f35728bf256bdd2a8399fdfb7285832eb3756c /mdadm.c | |
parent | 6f7e85bd16fee8ef8bdff787bb361609542d7748 (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |