diff options
author | Neil Brown <neilb@suse.de> | 2005-06-14 06:32:52 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-14 06:32:52 +0000 |
commit | 92919398cc8dcd8f9cd41a91b3b6af8d569d95fb (patch) | |
tree | 414a29eaa662ebbb3b0903f06ab2fda97b482470 /config.c | |
parent | 891d299451e6e3bfac959057a6f645c3f0034502 (diff) | |
download | mdadm-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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] == '/') { |