summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-26 10:00:33 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-26 10:00:33 +0000
commit5612d52f86475bee0dbc839a4d5999a54bf97699 (patch)
treec13dd85fcdcfe101ccb01da5d5162bf2c11f718c /sys/arch/i386
parent6c1b20eaa9f32d294ceabc354f2df5fa31ea8476 (diff)
Max out checksumming at MAXBSIZE
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index 874cdf14086..9a833b738e1 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.7 1997/10/25 02:07:10 weingart Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.8 1997/10/26 10:00:32 niklas Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -41,7 +41,7 @@
#include "biosdev.h"
#include "libsa.h"
-#define MAX_CKSUMLEN 32 /* Max amount of diskblocks used in cksum */
+#define MAX_CKSUMLEN MAXBSIZE / DEV_BSIZE /* Max # of blks to cksum */
/* Local Prototypes */
static int disksum __P((int));