From: NeilBrown Date: Mon, 3 Nov 2008 23:35:09 +0000 (+1100) Subject: Initialise ->container and ->member properly. X-Git-Tag: mdadm-3.0-devel2~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aef35714a4e86d6e19af9eb2672b7cbcb041c9cb;p=thirdparty%2Fmdadm.git Initialise ->container and ->member properly. Now that we are using these values, we need to initialise them properly. Signed-off-by: NeilBrown --- diff --git a/mdadm.c b/mdadm.c index 3229de4b..97592204 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,