summaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>1997-05-01 19:18:40 +0000
committerSøren Schmidt <sos@FreeBSD.org>1997-05-01 19:18:40 +0000
commite59f3105f6929f54df2feae88694890cb0b1fc9d (patch)
treeff3640ba3e4e9d1d773a75c42bde42f509056f5e /sys/geom
parent19accede88883582486c62ca0074d7763ee4c4a6 (diff)
downloadsrc-test2-e59f3105f6929f54df2feae88694890cb0b1fc9d.tar.gz
src-test2-e59f3105f6929f54df2feae88694890cb0b1fc9d.zip
Notes
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_ccd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c
index 59738788360c..34c196f13b5c 100644
--- a/sys/geom/geom_ccd.c
+++ b/sys/geom/geom_ccd.c
@@ -1,4 +1,4 @@
-/* $Id: ccd.c,v 1.21 1997/02/22 09:28:56 peter Exp $ */
+/* $Id: ccd.c,v 1.22 1997/03/24 11:23:21 bde Exp $ */
/* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */
@@ -484,7 +484,7 @@ ccdinit(ccd, cpaths, p)
* Create pseudo-geometry based on 1MB cylinders. It's
* pretty close.
*/
- ccg->ccg_secsize = DEV_BSIZE;
+ ccg->ccg_secsize = maxsecsize;
ccg->ccg_ntracks = 1;
ccg->ccg_nsectors = 1024 * (1024 / ccg->ccg_secsize);
ccg->ccg_ncylinders = cs->sc_size / ccg->ccg_nsectors;