summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-04 22:01:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-04 22:01:55 +0000
commitb8193e153e4b844fac5b3a8473b9baf1610417c7 (patch)
treed6c8277020d9815526c701524037873853beb942 /sys/dev/vnd.c
parent75c1e9e69d3537bc2468fc2850b0386891926c45 (diff)
make b_resid size_t
Diffstat (limited to 'sys/dev/vnd.c')
-rw-r--r--sys/dev/vnd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index 2aa8a1aaeb0..41d1c176deb 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.21 1998/03/10 17:40:37 millert Exp $ */
+/* $OpenBSD: vnd.c,v 1.22 1998/08/04 22:01:54 millert Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -364,8 +364,9 @@ vndstrategy(bp)
int unit = vndunit(bp->b_dev);
register struct vnd_softc *vnd = &vnd_softc[unit];
register struct vndbuf *nbp;
- register int bn, bsize, resid;
+ register int bn, bsize;
register caddr_t addr;
+ register size_t resid;
int sz, flags, error, s;
struct iovec aiov;
struct uio auio;