summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-04-04 05:16:04 +0000
committerNeil Brown <neilb@suse.de>2005-04-04 05:16:04 +0000
commita75f2fbcf2b3737084f6b55d78f22abbcbcc97b2 (patch)
tree68c1db3f19d1ef438baf9114490b960693eb8a3e
parent19f8b8fcf2a5f96d716f6d32e7a4ca6ff8d695cc (diff)
downloadmdadm-a75f2fbcf2b3737084f6b55d78f22abbcbcc97b2.tar.gz
mdadm-a75f2fbcf2b3737084f6b55d78f22abbcbcc97b2.tar.xz
mdadm-a75f2fbcf2b3737084f6b55d78f22abbcbcc97b2.zip
Fix some initialisations of ident
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
-rw-r--r--mdadm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdadm.c b/mdadm.c
index d40008e..ee4f14b 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -84,6 +84,8 @@ int main(int argc, char *argv[])
ident.raid_disks = UnSet;
ident.super_minor= UnSet;
ident.devices=0;
+ ident.spare_group = NULL;
+ ident.autof = 0;
while ((option_index = -1) ,
(opt=getopt_long(argc, argv,