summaryrefslogtreecommitdiff
path: root/mapfile.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-02-01 15:48:03 +1100
committerNeilBrown <neilb@suse.de>2011-02-01 15:48:03 +1100
commit71204a50293035e5e7eb4807285ac0181c69e4f3 (patch)
tree0f889f9a6639e734180693242d0d84b80964bb77 /mapfile.c
parent87eb4fabe316461cd1ad1600d41a81cd29882961 (diff)
downloadmdadm-71204a50293035e5e7eb4807285ac0181c69e4f3.tar.gz
Various compile fixes.
Make "make everything" succeed. This fixed some real bugs. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mapfile.c')
-rw-r--r--mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapfile.c b/mapfile.c
index 1cc61d1..ff1e973 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -380,7 +380,7 @@ void RebuildMap(void)
int dfd;
int ok;
struct supertype *st;
- char *subarray;
+ char *subarray = NULL;
char *path;
struct mdinfo *info;