summaryrefslogtreecommitdiffstats
path: root/Monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Monitor.c')
-rw-r--r--Monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Monitor.c b/Monitor.c
index 213e58d6..e5d98fb0 100644
--- a/Monitor.c
+++ b/Monitor.c
@@ -338,7 +338,7 @@ int Monitor(mddev_dev_t devlist,
close(fd);
for (i=0; i<MaxDisks; i++) {
- mdu_disk_info_t disc;
+ mdu_disk_info_t disc = {0};
int newstate=0;
int change;
char *dv = NULL;