diff options
author | 2013-11-26 15:42:43 +0000 | |
---|---|---|
committer | 2013-11-26 15:42:43 +0000 | |
commit | fa58e3adadd02a534107b43f1f6d2d9663298745 (patch) | |
tree | d6e0c0d62f783e53b96ac47bd586844a62625777 | |
parent | fix some typos in calendars; written with lot of useful advice (diff) | |
download | wireguard-openbsd-fa58e3adadd02a534107b43f1f6d2d9663298745.tar.xz wireguard-openbsd-fa58e3adadd02a534107b43f1f6d2d9663298745.zip |
make this compile after dlg's recent change
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c index d1f4352c4c3..2112db9059b 100644 --- a/sys/arch/sparc/dev/fd.c +++ b/sys/arch/sparc/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.88 2013/11/21 00:13:33 dlg Exp $ */ +/* $OpenBSD: fd.c,v 1.89 2013/11/26 15:42:43 martin Exp $ */ /* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */ /*- @@ -705,7 +705,7 @@ fdstrategy(bp) if (bp->b_bcount == 0) goto done; - bp->b_resid = bp->b_count; + bp->b_resid = bp->b_bcount; sz = howmany(bp->b_bcount, DEV_BSIZE); if (bp->b_blkno + sz > (fd->sc_type->size * DEV_BSIZE) / FD_BSIZE(fd)) { |