summaryrefslogtreecommitdiffstats
path: root/sys/dev/md/md.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-26 09:57:59 +0000
committerphk <phk@FreeBSD.org>2002-05-26 09:57:59 +0000
commitcd78b1f556058950e6a372a22d8c2af37d07376e (patch)
tree6f725e780b898ee327bf48cdf934258928040e98 /sys/dev/md/md.c
parent3a79eba71d01c89b87dcdf9ed80fdfe47028a354 (diff)
downloadFreeBSD-src-cd78b1f556058950e6a372a22d8c2af37d07376e.zip
FreeBSD-src-cd78b1f556058950e6a372a22d8c2af37d07376e.tar.gz
Mis-edit in last commit.
Diffstat (limited to 'sys/dev/md/md.c')
-rw-r--r--sys/dev/md/md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index f25a34c..ad33524 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -446,6 +446,7 @@ mdstart_malloc(struct md_s *sc, struct bio *bp)
error = ENOSPC;
break;
}
+ bcopy(dst, (void *)sp, sc->secsize);
error = s_write(sc->indir, secno, sp);
} else {
bcopy(dst, (void *)osp, sc->secsize);
OpenPOWER on IntegriCloud