mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct an inverted conditional for determining the multiplier of
the user data area size.
This commit is contained in:
parent
ec9f9562a5
commit
da979d442a
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ mmcsd_attach(device_t dev)
|
|||
(ext_csd[EXT_CSD_ENH_START_ADDR + 1] << 8) +
|
||||
(ext_csd[EXT_CSD_ENH_START_ADDR + 2] << 16) +
|
||||
(ext_csd[EXT_CSD_ENH_START_ADDR + 3] << 24)) *
|
||||
(sc->high_cap != 0 ? MMC_SECTOR_SIZE : 1);
|
||||
(sc->high_cap == 0 ? MMC_SECTOR_SIZE : 1);
|
||||
} else if (bootverbose)
|
||||
device_printf(dev,
|
||||
"enhanced user data area spans entire device\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue