diff options
author | NeilBrown <neilb@suse.de> | 2008-11-04 10:35:09 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-04 10:35:09 +1100 |
commit | aef35714a4e86d6e19af9eb2672b7cbcb041c9cb (patch) | |
tree | 0afe762669e2a0e73ee6a0a3f7470933ff6e28f5 /mdadm.c | |
parent | d7ab966bb82d1dfe5d532ae7bcbe233e906628ae (diff) | |
download | mdadm-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |