summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-05-05 21:55:35 +1000
committerNeil Brown <neilb@suse.de>2008-05-05 21:55:35 +1000
commit5e747af24abc021073d979925628fec28052a731 (patch)
tree3f2eee3c4c32355cd6622561e6e525d232770f6a /util.c
parent767bd452981d5fae96487b1394f9d1ff535a3127 (diff)
downloadmdadm-5e747af24abc021073d979925628fec28052a731.tar.gz
mdadm-5e747af24abc021073d979925628fec28052a731.tar.xz
mdadm-5e747af24abc021073d979925628fec28052a731.zip
fix load_super/free_super mismatch in util.c
From: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index bd46999..dbe4640 100644
--- a/util.c
+++ b/util.c
@@ -818,7 +818,7 @@ struct supertype *guess_super(int fd)
st->ss = NULL;
rv = superlist[bestsuper]->load_super(st, fd, NULL);
if (rv == 0) {
- ss->free_super(st);
+ superlist[bestsuper]->free_super(st);
return st;
}
}