summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-14 06:32:52 +0000
committerNeil Brown <neilb@suse.de>2005-06-14 06:32:52 +0000
commit92919398cc8dcd8f9cd41a91b3b6af8d569d95fb (patch)
tree414a29eaa662ebbb3b0903f06ab2fda97b482470 /config.c
parent891d299451e6e3bfac959057a6f645c3f0034502 (diff)
downloadmdadm-92919398cc8dcd8f9cd41a91b3b6af8d569d95fb.tar.gz
mdadm-92919398cc8dcd8f9cd41a91b3b6af8d569d95fb.tar.xz
mdadm-92919398cc8dcd8f9cd41a91b3b6af8d569d95fb.zip
Initialise mis.next to NULL
Probably not needed, but safer. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index 7383e19..20f972e 100644
--- a/config.c
+++ b/config.c
@@ -274,6 +274,7 @@ void arrayline(char *line)
mis.devname = NULL;
mis.spare_group = NULL;
mis.autof = 0;
+ mis.next = NULL;
for (w=dl_next(line); w!=line; w=dl_next(w)) {
if (w[0] == '/') {