]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix some initialisations of ident
authorNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 05:16:04 +0000 (05:16 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 4 Apr 2005 05:16:04 +0000 (05:16 +0000)
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
mdadm.c

diff --git a/mdadm.c b/mdadm.c
index d40008ea578d696857e372c887a0d9e1079469d9..ee4f14b8ce60c922b1364ef8f381bf052166cd8b 100644 (file)
--- 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,