diff options
author | Jérémy Bobbio <lunar@debian.org> | 2007-10-01 10:17:06 +0200 |
---|---|---|
committer | martin f. krafft <madduck@debian.org> | 2007-10-01 10:17:06 +0200 |
commit | cc4c7f14b1d53849c4d6f18a1a92f212bdbc68c2 (patch) | |
tree | 52a6a7caab77e55c1db7742d61d4d555d7ced212 /super1.c | |
parent | Fix segfault on assembly on amd64 with v1 superblocks (diff) | |
download | mdadm-cc4c7f14b1d53849c4d6f18a1a92f212bdbc68c2.tar.xz mdadm-cc4c7f14b1d53849c4d6f18a1a92f212bdbc68c2.zip |
Also use &tst instead of st later on when loading v1 superblocks
Diffstat (limited to 'super1.c')
-rw-r--r-- | super1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |