svn commit: r194334 - head/lib/libdisk
Ulf Lilleengen
lulf at FreeBSD.org
Wed Jun 17 06:47:06 UTC 2009
Author: lulf
Date: Wed Jun 17 06:47:05 2009
New Revision: 194334
URL: http://svn.freebsd.org/changeset/base/194334
Log:
- 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.
Modified:
head/lib/libdisk/change.c
Modified: head/lib/libdisk/change.c
==============================================================================
--- head/lib/libdisk/change.c Wed Jun 17 06:41:10 2009 (r194333)
+++ head/lib/libdisk/change.c Wed Jun 17 06:47:05 2009 (r194334)
@@ -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)
More information about the svn-src-all
mailing list