Fix a typo which would cause containers between 1GB and 2GB to have the wrong

geometry reported.

Submitted by:	mark tinguely <tinguely@web.cs.ndsu.NoDak.edu>
This commit is contained in:
Mike Smith 2001-03-16 21:43:32 +00:00
parent bd22a64c45
commit eeba0d1008

View file

@ -232,7 +232,7 @@ aac_disk_attach(device_t dev)
if (sc->ad_size >= (2 * 1024 * 1024)) { /* 2GB */
sc->ad_heads = 255;
sc->ad_sectors = 63;
} else if (sc->ad_size >= (2 * 1024 * 1024)) { /* 1GB */
} else if (sc->ad_size >= (1 * 1024 * 1024)) { /* 1GB */
sc->ad_heads = 128;
sc->ad_sectors = 32;
} else {