mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
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:
parent
bd22a64c45
commit
eeba0d1008
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue