summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
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? */