aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-05-26 09:57:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-05-26 09:57:59 +0000
commitfcf867e9f73f56e3bce4ac32c73d78594ee2d4e7 (patch)
tree6f725e780b898ee327bf48cdf934258928040e98
parentfde2a2e414dbea9ba90dac6e3b5bb6e8912a1c86 (diff)
Notes
-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 f25a34c21114..ad33524efc4b 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);