summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_ccd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_ccd.c')
-rw-r--r--sys/geom/geom_ccd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 86de9c2..c046453 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -1,4 +1,4 @@
-/* $Id: ccd.c,v 1.16 1996/07/24 23:45:24 asami Exp $ */
+/* $Id: ccd.c,v 1.17 1996/09/06 23:06:40 phk Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@@ -910,6 +910,8 @@ ccdbuffer(cb, cs, bp, bn, addr, bcount)
if (cbp->cb_buf.b_bcount > bcount)
cbp->cb_buf.b_bcount = bcount;
+ cbp->cb_buf.b_bufsize = cbp->cb_buf.b_bcount;
+
/*
* context for ccdiodone
*/
OpenPOWER on IntegriCloud