summaryrefslogtreecommitdiff
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-11-04 10:35:09 +1100
committerNeilBrown <neilb@suse.de>2008-11-04 10:35:09 +1100
commitaef35714a4e86d6e19af9eb2672b7cbcb041c9cb (patch)
tree0afe762669e2a0e73ee6a0a3f7470933ff6e28f5 /mdadm.c
parentd7ab966bb82d1dfe5d532ae7bcbe233e906628ae (diff)
downloadmdadm-aef35714a4e86d6e19af9eb2672b7cbcb041c9cb.tar.gz
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>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdadm.c b/mdadm.c
index 3229de4..9759220 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -124,6 +124,8 @@ int main(int argc, char *argv[])
ident.bitmap_fd = -1;
ident.bitmap_file = NULL;
ident.name[0] = 0;
+ ident.container = NULL;
+ ident.member = NULL;
while ((option_index = -1) ,
(opt=getopt_long(argc, argv,