summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-22 00:40:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-22 00:40:03 +0000
commit22c9c3850c0937b005b1a8552095891e59df87c2 (patch)
treee3633a0c9690c06d26a567eb2f2c6e937c26db61 /sys/arch/i386
parent2122cf052cb864c6d41447b67783028f0ee3a145 (diff)
b_cylin -> b_cylinder; no functional change.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/dkcsum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/dkcsum.c b/sys/arch/i386/i386/dkcsum.c
index 850caedf9a1..05141b557db 100644
--- a/sys/arch/i386/i386/dkcsum.c
+++ b/sys/arch/i386/i386/dkcsum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkcsum.c,v 1.19 2005/08/01 16:46:55 krw Exp $ */
+/* $OpenBSD: dkcsum.c,v 1.20 2006/01/22 00:40:01 miod Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -44,8 +44,6 @@
#include <lib/libz/zlib.h>
-#define b_cylin b_resid
-
dev_t dev_rawpart(struct device *); /* XXX */
extern u_int32_t bios_cksumlen;
@@ -109,7 +107,7 @@ dkcsumattach(void)
bp->b_blkno = 0;
bp->b_bcount = bios_cksumlen * DEV_BSIZE;
bp->b_flags = B_BUSY | B_READ;
- bp->b_cylin = 0;
+ bp->b_cylinder = 0;
(*bdsw->d_strategy)(bp);
if ((error = biowait(bp))) {
/* XXX What to do here? */