Date: Wed, 17 Jun 2009 06:47:05 +0000 (UTC) From: Ulf Lilleengen <lulf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194334 - head/lib/libdisk Message-ID: <200906170647.n5H6l5XD065162@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906170647.n5H6l5XD065162>