diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/md/md.c | 1 |
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); |
