Initialise ->container and ->member properly.
Now that we are using these values, we need to initialise them properly. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
d7ab966bb8
commit
aef35714a4
2
mdadm.c
2
mdadm.c
|
@ -124,6 +124,8 @@ int main(int argc, char *argv[])
|
||||||
ident.bitmap_fd = -1;
|
ident.bitmap_fd = -1;
|
||||||
ident.bitmap_file = NULL;
|
ident.bitmap_file = NULL;
|
||||||
ident.name[0] = 0;
|
ident.name[0] = 0;
|
||||||
|
ident.container = NULL;
|
||||||
|
ident.member = NULL;
|
||||||
|
|
||||||
while ((option_index = -1) ,
|
while ((option_index = -1) ,
|
||||||
(opt=getopt_long(argc, argv,
|
(opt=getopt_long(argc, argv,
|
||||||
|
|
Loading…
Reference in New Issue