HomeFreeBSD

MFC r354999: Fix off-by-one error in HPA/AMA maximum reporting.

Description

MFC r354999: Fix off-by-one error in HPA/AMA maximum reporting.

Before my refactoring the code reported value as maximum number of sectors,
adding one to the maximum sector number returned by respective command.
While this difference is somewhat confusing, restore previous behavior.

Details

Provenance
mavAuthored on
Parents
rS355077: Added a regression test.
Branches
Unknown
Tags
Unknown