summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-06-17 06:47:05 +0000
committerlulf <lulf@FreeBSD.org>2009-06-17 06:47:05 +0000
commitda752fa2041abede89e8630b0e9623f1328d4815 (patch)
treee1388c5a9062278e67a217c8d569dc287b21477a /lib/libdisk
parentf98c75f6cc6d20627ba7b5dccb255bc88a91a8ef (diff)
downloadFreeBSD-src-da752fa2041abede89e8630b0e9623f1328d4815.zip
FreeBSD-src-da752fa2041abede89e8630b0e9623f1328d4815.tar.gz
- Allow a higher value for the number of heads. Its better to do this and allow
a few bad systems to run than to be completely strict about it.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/change.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/change.c b/lib/libdisk/change.c
index 9cb2a5c..297ac11 100644
--- a/lib/libdisk/change.c
+++ b/lib/libdisk/change.c
@@ -36,7 +36,7 @@ Sanitize_Bios_Geom(struct disk *disk)
if (disk->bios_cyl >= 65536)
sane = 0;
- if (disk->bios_hd >= 256)
+ if (disk->bios_hd > 256)
sane = 0;
#ifdef PC98
if (disk->bios_sect >= 256)
OpenPOWER on IntegriCloud