diff options
| author | Toomas Soome <tsoome@FreeBSD.org> | 2017-04-18 18:07:54 +0000 |
|---|---|---|
| committer | Toomas Soome <tsoome@FreeBSD.org> | 2017-04-18 18:07:54 +0000 |
| commit | c9296b32275a8b6766447dd78e73653102fb4fa7 (patch) | |
| tree | d3af4c26660dec91519954637d6e0efb8c17b209 /sys/boot/common | |
| parent | 31cfa79fab6273c8605129c5e26c8c029c3c6968 (diff) | |
Notes
Diffstat (limited to 'sys/boot/common')
| -rw-r--r-- | sys/boot/common/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/md.c b/sys/boot/common/md.c index 22a0e953ad546..bb469a27f62bc 100644 --- a/sys/boot/common/md.c +++ b/sys/boot/common/md.c @@ -106,7 +106,7 @@ md_strategy(void *devdata, int rw, daddr_t blk, size_t size, if (rsize != NULL) *rsize = size; - switch (rw) { + switch (rw & F_MASK) { case F_READ: bcopy(md_image.start + ofs, buf, size); return (0); |
