]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Initialise mis.next to NULL
authorNeil Brown <neilb@suse.de>
Tue, 14 Jun 2005 06:32:52 +0000 (06:32 +0000)
committerNeil Brown <neilb@suse.de>
Tue, 14 Jun 2005 06:32:52 +0000 (06:32 +0000)
Probably not needed, but safer.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
config.c

index 7383e193549f42b89c0af269b39ebfa5e45347c7..20f972eec56a98a182c52eccca411f543c55b67c 100644 (file)
--- 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] == '/') {