diff options
author | lulf <lulf@FreeBSD.org> | 2009-06-17 06:47:05 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2009-06-17 06:47:05 +0000 |
commit | da752fa2041abede89e8630b0e9623f1328d4815 (patch) | |
tree | e1388c5a9062278e67a217c8d569dc287b21477a | |
parent | f98c75f6cc6d20627ba7b5dccb255bc88a91a8ef (diff) | |
download | FreeBSD-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.
-rw-r--r-- | lib/libdisk/change.c | 2 |
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) |