summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-05-11 16:19:50 +0000
committerphk <phk@FreeBSD.org>1995-05-11 16:19:50 +0000
commita0a1fbecf5993c46ab6e139646c02906890b3a57 (patch)
treed8f9696a5df40ec934084d02e92e4fbc104052e1 /sys
parent097d35190f01a0026f044c1f8d3c486f06ccf0ac (diff)
downloadFreeBSD-src-a0a1fbecf5993c46ab6e139646c02906890b3a57.zip
FreeBSD-src-a0a1fbecf5993c46ab6e139646c02906890b3a57.tar.gz
Use spc, not spt, DUH! Thanks Bruce!
Submitted by: bde
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/boot/biosboot/disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/boot/biosboot/disk.c b/sys/i386/boot/biosboot/disk.c
index f7c0fd5..b8e2b6e 100644
--- a/sys/i386/boot/biosboot/disk.c
+++ b/sys/i386/boot/biosboot/disk.c
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:35:49 rpd
- * $Id: disk.c,v 1.9 1995/04/14 21:26:50 joerg Exp $
+ * $Id: disk.c,v 1.10 1995/05/08 02:02:56 phk Exp $
*/
/*
@@ -135,7 +135,7 @@ devopen(void)
/* This is a good idea for all disks */
bsize = dl->d_partitions[part].p_size;
bend = boff + bsize - 1 ;
- if (bend / spt > 1024) {
+ if (bend / spc > 1024) {
printf("partition is out of reach from the bios\n");
return 1;
}
OpenPOWER on IntegriCloud