summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-14 06:33:02 +0000
committerNeil Brown <neilb@suse.de>2005-06-14 06:33:02 +0000
commit1337546dc1f4b4dfd399ecb9ef05e0936492220f (patch)
tree5c9a44f94759b83816325de0537d098f074d3adc /config.c
parent92919398cc8dcd8f9cd41a91b3b6af8d569d95fb (diff)
downloadmdadm-1337546dc1f4b4dfd399ecb9ef05e0936492220f.tar.gz
mdadm-1337546dc1f4b4dfd399ecb9ef05e0936492220f.tar.xz
mdadm-1337546dc1f4b4dfd399ecb9ef05e0936492220f.zip
Allow --auto to still be meaningful when --scan is given
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 20f972e..08a8ed1 100644
--- a/config.c
+++ b/config.c
@@ -345,7 +345,7 @@ void arrayline(char *line)
else if (strcasecmp(w+5,"yes")==0 || strcasecmp(w+5,"md")==0)
mis.autof = -1;
else {
- /* There might be digits, and maybe a hypen, at the end */
+ /* There might be digits, and maybe a hyphen, at the end */
char *e = w+5 + strlen(w+5);
int num = 4;
int len;