Also use &tst instead of st later on when loading v1 superblocks

This commit is contained in:
Jérémy Bobbio 2007-10-01 09:17:06 +01:00 committed by martin f. krafft
parent cf3370c7a7
commit cc4c7f14b1
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ static int load_super1(struct supertype *st, int fd, void **sbp, char *devname)
tst.minor_version = bestvers;
tst.ss = &super1;
tst.max_devs = 384;
rv = load_super1(st, fd, sbp, devname);
rv = load_super1(&tst, fd, sbp, devname);
if (rv == 0)
*st = tst;
return rv;